diff --git a/nginx.conf.tmpl b/nginx.conf.tmpl index 19fa55b..51542c8 100644 --- a/nginx.conf.tmpl +++ b/nginx.conf.tmpl @@ -10,16 +10,19 @@ http { server {{ env "STACK_NAME" }}_front:8080; } - server_name {{ env "DOMAIN" }}; + server { + listen 80; + server_name {{ env "DOMAIN" }}; - location / { - uwsgi_pass webuwsgi; - include uwsgi_params; - uwsgi_read_timeout 300; - } + location / { + uwsgi_pass webuwsgi; + include uwsgi_params; + uwsgi_read_timeout 300; + } - location /static/ { - alias /opt/mailman/web/static/; - autoindex off; + location /static/ { + alias /opt/mailman/web/static/; + autoindex off; + } } }