mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 05:35:25 +03:00
bypass csrf for internal auth endpoint
This commit is contained in:
parent
5acee640ac
commit
fa34e4d075
@ -13,6 +13,7 @@ location /auth {
|
|||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header Content-Length "";
|
proxy_set_header Content-Length "";
|
||||||
proxy_set_header Connection "";
|
proxy_set_header Connection "";
|
||||||
|
proxy_set_header X-CSRF-TOKEN "1";
|
||||||
|
|
||||||
## Basic Proxy Configuration
|
## Basic Proxy Configuration
|
||||||
proxy_pass_request_body off;
|
proxy_pass_request_body off;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user