Skip to content

all works, but after success auth redirect to the proxy-host instead the public host #4909

Answered by james-d-elliott
lumpov asked this question in Q&A
Discussion options

You must be logged in to vote

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 the X-Forwarded-Proto header when redirecting.

The appropriate solutions are:

  1. Always use a supported version of your proxy. The proxy in this issue has been end of life and unsupported by F5 for 4 years.
  2. Have the application in question properly redirect users.
  3. Seek the documentation of the application in question for how to configure the proxy yo…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@lumpov
Comment options

@james-d-elliott
Comment options

@lumpov
Comment options

@james-d-elliott
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by james-d-elliott
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants