modoboa / modoboa-installer

An installer for Modoboa
MIT License
255 stars 136 forks source link

Possibility to deactivate SSL configuration for nginx #257

Open abctaylor opened 5 years ago

abctaylor commented 5 years ago

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:

abctaylor commented 5 years ago

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:

  1. a default cluster of 4x nginx servers
  2. a personal media server
  3. 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.

dabos1 commented 4 years ago

thank you