update boinc subfolder conf for new image

This commit is contained in:
aptalca 2021-06-28 09:28:12 -04:00 committed by GitHub
parent e2e069c040
commit f2495bb944
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
## Version 2021/05/18 ## Version 2021/06/28
# boinc does not require a base url setting # In boinc docker arguments, set an env variable for SUBFOLDER=/boinc/
location /boinc { location /boinc {
return 301 $scheme://$host/boinc/; return 301 $scheme://$host/boinc/;
@ -24,6 +24,5 @@ location ^~ /boinc/ {
set $upstream_proto http; set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_pass $upstream_proto://$upstream_app:$upstream_port;
rewrite /boinc(.*) $1 break;
proxy_buffering off; proxy_buffering off;
} }