Merge branch 'master' of github.com:modoboa/modoboa-installer

This commit is contained in:
Antoine Nguyen
2018-10-01 15:53:47 +02:00
2 changed files with 2 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ server {
listen 80; listen 80;
listen [::]:80; listen [::]:80;
server_name %hostname; server_name %hostname;
root /srv/automx/instance;
access_log /var/log/nginx/%{hostname}-access.log; access_log /var/log/nginx/%{hostname}-access.log;
error_log /var/log/nginx/%{hostname}-error.log; error_log /var/log/nginx/%{hostname}-error.log;

View File

@@ -63,7 +63,7 @@ class Nginx(base.Installer):
self.config.get("general", "domain")) self.config.get("general", "domain"))
self._setup_config("automx", hostname) self._setup_config("automx", hostname)
extra_modoboa_config = """ extra_modoboa_config = """
location /autodiscover/autodiscover.xml { location ~* ^/autodiscover/autodiscover.xml {
include uwsgi_params; include uwsgi_params;
uwsgi_pass automx; uwsgi_pass automx;
} }