Closed fklemme closed 9 years ago
hopefully this happens only if your browser is opened on the same "localhost". Setting the hostname works on my demo server for external use. The nginx config looks fine:
$ less ~/.conda/envs/birdhouse/etc/nginx/conf.d/phoenix.conf
It says just localhost
in my configuration.
Doesn't it fetch the system hostname during installation?
What is ${settings:hostname}
referring to?
[phoenix_nginx]
...
hostname = ${settings:hostname}
Or is localhost
just hardcoded in birdhousebuilder.recipe.nginx?
self.options['hostname'] = self.options.get('hostname', 'localhost')
it doesn't take the system hostname automatically. You need to set the hostname in custom.cfg (will overwrite settings:hostname). By default the hostname is localhost
.
Stupid me, I should have seen that option as it is already set in custom.cfg.example
.
Okay, that's fine then, I guess.
When I connect to
http://phoenix:8081
, I'll be getting redirected tohttps://localhost:8443
. (The host name has been omitted and replaced bylocalhost
.)