Proxy Configuration Warning
-
I have installed a test FusionAuth as a docker in Portainer, and am using NGINX Proxy Manager (also in Portainer) to proxy to it. The headers have been set, but am still getting the warning. It says to correct the origin, add the following request headers, which I have done - the only one it shows is X-Forwarded-Port: 443, this is set in the headers and can be seen when the headers are queried.
the only difference between the Reported request origin and Actual request origin is that the latter one also shows the port number.
I have looked at the other postings for this error, but no solution works.
-
@jawaid-karim What headers have you set in NGINX to send to FusionAuth? What FusionAuth version are you running?
-
@dan I have the following headers setup:
X-Forwarded-Port 443
X-Forwarded-Host fusion.mydomain.com
X-Forwarded-Proto https
X-Forwarded-For my_public_ip
X-Forwarded-Server fusion.mydomain.comFusionAuth Version is 1.48.3
-
Dealing with proxy setups can be tricky. Have you tried adjusting the NGINX Proxy Manager settings to ensure it correctly forwards the port number in the request origin? Sometimes, it's a matter of fine-tuning those configurations.
-
@jawaid-karim Hmmm. Those all look good.
So you are still seeing an error in the admin screen when you log in?
-
@dan Has there been any updates on this? I have my fusionauth application in cluster behind a proxy (nginx ingress controller) and I passing those same headers but I am getting a CSRF error. Please any help is more than welcome.