bypass csrf for internal auth endpoint

This commit is contained in:
Blake Blackshear 2024-05-05 12:42:37 -05:00
parent 5acee640ac
commit fa34e4d075

View File

@ -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;