You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case the motivation is not clear, I suspect many selfhosters are running multiple web servers in their environments, on separate VMs. I use HAProxy to do domain-based http/s routing to:
a default cluster of 4x nginx servers
a personal media server
a mail server's web interface
These are separate servers and a wildcard TLD exists at the load balancer to encrypt all traffic to/from the load balancer to the Internet.
It would be great if the script could give an option to proceed with SSL or not, bearing in mind it might be handled somewhere else.
tonioo
changed the title
Server misconfigures itself for SSL when behind a load balancer
Possibility to deactivate SSL configuration for nginx
Feb 25, 2019
Impacted versions
Steps to reproduce
Full trace using --debug option or current behaviour
You will get stuck in a 301 Moved Permanently loop
Expected behavior
Installer should give option to install self-signed SSL
RESOLUTION
Edit the nginx conf file for your setup, e.g. mail.example.com.conf as follows:
rewrite ^ https://$server_name$request_uri? permanent;
in first server block}
andserver {
respectivelylisten
directives (both of them) from old :443 server blockserver_name
directive from old :443 server blockssl_
The text was updated successfully, but these errors were encountered: