all works, but after success auth redirect to the proxy-host instead the public host #4909
-
Authelia works, first of all I open in browser After authentication, I redirected to If I disable all authelia - The problem is in nginx. Please help.
nginx on host system:
/etc/nginx/sites-enabled/auth.target.org:
/etc/nginx/sites-enabled/ads.target.org:
authelia-authrequest.conf:
authelia-location.conf:
proxy.conf:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
This appears like the service itself is redirecting you. Can you show logs and confirm the behaviour without authelia is the same/different? |
Beta Was this translation helpful? Give feedback.
-
See here for the users workaround for a an application that sends redirects inappropriately. See here for what this directive does: https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_redirect The way Authelia has this configured prevents redirections to the The appropriate solutions are:
Workarounds:
So if 192.168.1.14:7100 is returning a Location redirect to |
Beta Was this translation helpful? Give feedback.
See here for the users workaround for a an application that sends redirects inappropriately.
See here for what this directive does: https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_redirect
The way Authelia has this configured prevents redirections to the
http
scheme only. This is a workaround for applications which don't respect theX-Forwarded-Proto
header when redirecting.The appropriate solutions are: