Fix Nginx config
This commit is contained in:
parent
c98abb2650
commit
67dfb8f7cf
@ -10,16 +10,19 @@ http {
|
|||||||
server {{ env "STACK_NAME" }}_front:8080;
|
server {{ env "STACK_NAME" }}_front:8080;
|
||||||
}
|
}
|
||||||
|
|
||||||
server_name {{ env "DOMAIN" }};
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name {{ env "DOMAIN" }};
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
uwsgi_pass webuwsgi;
|
uwsgi_pass webuwsgi;
|
||||||
include uwsgi_params;
|
include uwsgi_params;
|
||||||
uwsgi_read_timeout 300;
|
uwsgi_read_timeout 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /static/ {
|
location /static/ {
|
||||||
alias /opt/mailman/web/static/;
|
alias /opt/mailman/web/static/;
|
||||||
autoindex off;
|
autoindex off;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user