mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 13:07:44 +03:00
Update docker/main/rootfs/usr/local/nginx/templates/base_path.gotmpl
Co-authored-by: Blake Blackshear <blake.blackshear@gmail.com>
This commit is contained in:
parent
aaaf682748
commit
19061ee844
@ -3,7 +3,7 @@ location = {{ .base_path }} {
|
||||
return 302 {{ .base_path }}/;
|
||||
}
|
||||
|
||||
location /{{ .base_path }}/ {
|
||||
location ^~ /{{ .base_path }}/ {
|
||||
# remove base_url from the path before passing upstream
|
||||
rewrite ^/{{ .base_path }}/(.*) /$1 break;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user