mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45: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 Content-Length "";
|
||||
proxy_set_header Connection "";
|
||||
proxy_set_header X-CSRF-TOKEN "1";
|
||||
|
||||
## Basic Proxy Configuration
|
||||
proxy_pass_request_body off;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user