mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 04:51:33 -07:00
update boinc subfolder conf for new image
This commit is contained in:
parent
e2e069c040
commit
f2495bb944
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue