Fix Nginx config

This commit is contained in:
decentral1se 2021-05-14 16:59:40 +02:00
parent c98abb2650
commit 67dfb8f7cf
Signed by: decentral1se
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 12 additions and 9 deletions

View File

@ -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;
}
}
}