-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/21/2011 10:25 PM, derek wrote: > I have the Supervisor web server running on localhost:9001, but only > example.com:80 is available from the Internet. > > Apache at http://example.com/ redirects: > > ProxyPass /supervisor/ http://localhost:9001/ > ProxyPassReverse /supervisor/ http://localhost:9001/ > > and start, stop, restart, refresh functions on http://example.com/supervisor/ > work, but the page never refreshes correctly - redirecting to > http://localhost:9001/ rather than the originating > http://example.com/supervisor/index.html. (Response headers below) > > How does one make the server use the public address?
It looks[1] as though you might be able to get some approximation of virtual hosting in supervisor's web UI by setting 'HTTP_HOST' in the environment from which you start supervisord, e.g.:: $ HTTP_HOST=http://example.com /path/to/supervisord \ -C /path/to/supervisor.conf or set that value using the 'environment' key in the '[supervisord]' section of your config file. [1] See 'supervisor.http.deferring_http_request.get_server_url Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2xcuIACgkQ+gerLs4ltQ55NgCgy5deuHwqXO2d7Q+pgAs6Tg1k /4YAoNWq4RDRMgYtX46hvFgmeTj1Grxn =sMBt -----END PGP SIGNATURE----- _______________________________________________ Supervisor-users mailing list Supervisor-users@lists.supervisord.org http://lists.supervisord.org/mailman/listinfo/supervisor-users