mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 04:51:33 -07:00
Merge pull request #12 from nemchik/monitorr-slash
Add trailing slash to Monitorr subfolder config
This commit is contained in:
commit
05fc6e22df
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,9 @@
|
||||||
# monitorr does not require a base url setting
|
# monitorr does not require a base url setting
|
||||||
|
|
||||||
location ^~ /monitorr {
|
location /monitorr {
|
||||||
|
return 301 $scheme://$host/monitorr/;
|
||||||
|
}
|
||||||
|
location ^~ /monitorr/ {
|
||||||
# enable the next two lines for http auth
|
# enable the next two lines for http auth
|
||||||
#auth_basic "Restricted";
|
#auth_basic "Restricted";
|
||||||
#auth_basic_user_file /config/nginx/.htpasswd;
|
#auth_basic_user_file /config/nginx/.htpasswd;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue