## Virtual endpoint created by nginx to forward auth requests. location /internal/authelia/authz { ## Essential Proxy Configuration internal; proxy_pass http://localhost:9091/api/authz/auth-request; ## Headers ## The headers starting with X-* are required. proxy_set_header X-Original-Method $request_method; proxy_set_header X-Original-URL $scheme://$http_host$request_uri; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header Content-Length ""; proxy_set_header Connection ""; ## Basic Proxy Configuration proxy_pass_request_body off; ## Advanced Proxy Configuration TODO: maybe reducir estos timeouts? send_timeout 5m; }