How do I change the base URL for the server?
-
I originally entered http://auth.mydomain.com in the setup wizard, but need it to be https://auth.mydomain.com (I have google as a SAML provider, and it won't accept a non https ACS url). The base URL doesn't seem to be set in the configuration properties, and I'm not it in any of the likely tables (I'm self-hosting).
I'd prefer not to blow away the entire configuration. Anyone know how I can change the url?
-
There isn't a configuration for hostname. The hostname and protocol is pulled from the requestor, specifically from the X-Forwarded-Proto and X-Forwarded-Host headers. My setup specifically was Cloudflare (https) -> AWS Application Load Balancer (http) -> FusionAuth instance. The ALB didn't pass through the Cloudflare headers, so it always went to http rather than https. Fixed by making the ALB only serve https (which is how it should have been configured to begin with, so this really pointed out a configuration error with our network environment).
-
Hi @alex,
Yes, you are correct -- there is not a configuration for setting the host within FusionAuth. There are workarounds, but it sounds like you were able to find the most optimal solution using cloud network configuration settings.
Thanks,
Josh