Added automx support.

see #98
This commit is contained in:
Antoine Nguyen
2017-02-09 14:40:39 +01:00
parent 48227fcf5f
commit 5f36d6231f
14 changed files with 273 additions and 54 deletions

View File

@@ -0,0 +1,16 @@
upstream automx {
server unix:%uwsgi_socket_path fail_timeout=0;
}
server {
listen 80;
server_name %hostname;
access_log /var/log/nginx/%{hostname}-access.log;
error_log /var/log/nginx/%{hostname}-error.log;
location /mail/config-v1.1.xml {
include uwsgi_params;
uwsgi_pass automx;
}
}

View File

@@ -11,7 +11,7 @@ server {
server {
listen 443 ssl;
server_name %hostname;
root %modoboa_instance_path;
root %app_instance_path;
ssl_certificate %tls_cert_file;
ssl_certificate_key %tls_key_file;