mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 04:51:33 -07:00
Update comments
This commit is contained in:
parent
55592fa4e1
commit
a95f4f355e
1 changed files with 3 additions and 1 deletions
|
@ -6,7 +6,6 @@
|
|||
# Client
|
||||
###
|
||||
|
||||
# Due to a bug in SyncLounge, some requests like /config don't respect the base url (web root) setting
|
||||
location /slweb {
|
||||
# enable the next two lines for http auth
|
||||
#auth_basic "Restricted";
|
||||
|
@ -28,7 +27,9 @@ location /slweb {
|
|||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
}
|
||||
if ($http_referer ~* /slweb) {
|
||||
# Due to a bug in SyncLounge, some requests like /config don't respect the base url (web root) setting
|
||||
rewrite ^/config /slweb/config redirect;
|
||||
# I think this is a bug as well
|
||||
rewrite ^/socket.io/(.*) /slserver/socket.io/$1? redirect;
|
||||
}
|
||||
|
||||
|
@ -50,5 +51,6 @@ location /slserver {
|
|||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
}
|
||||
if ($http_referer ~* /slserver) {
|
||||
# Due to a bug in SyncLounge, some requests like socket.io don't respect the base url (server root) setting
|
||||
rewrite ^/socket.io/(.*) /slserver/socket.io/$1? redirect;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue