mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 21:17:43 +03:00
Revert api regex change
This commit is contained in:
parent
19061ee844
commit
7efc96115e
@ -236,9 +236,9 @@ http {
|
|||||||
include proxy.conf;
|
include proxy.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~* (?:/.*/)?api/.*\.(jpg|jpeg|png|webp|gif)$ {
|
location ~* /api/.*\.(jpg|jpeg|png|webp|gif)$ {
|
||||||
include auth_request.conf;
|
include auth_request.conf;
|
||||||
rewrite (?:/.*/)?api/(.*)$ /$1 break;
|
rewrite ^/api/(.*)$ /$1 break;
|
||||||
proxy_pass http://frigate_api;
|
proxy_pass http://frigate_api;
|
||||||
include proxy.conf;
|
include proxy.conf;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user