If you’re attempting to run a FusionAuth Instance behind a Apache, this little configuration snippet will come in handy.
Apache config
RequestHeader unset Host RequestHeader set X-Forwarded-Proto "https" RequestHeader set X-Forwarded-Port "443" RequestHeader set X-Forwarded-Host "idp.yourserver.ext" ProxyPass /.well-known ! ProxyPass / http://fusionauth:9011/ ProxyPassReverse / http://fusionauth :9011/
please note: without the ‘RequestHeader unset Host’ line, the FusionAuth backend will produce 500 server errors!
Caused by: java.net.URISyntaxException: Illegal character in authority at index 8: https://idp.yourserver.ext , idp.yourserver.ext