mailman3/nginx.conf.tmpl

29 lines
406 B
Cheetah

user www-data;
events {
worker_connections 768;
}
http {
upstream webuwsgi {
server {{ env "STACK_NAME" }}_front:8080;
}
server {
listen 80;
server_name {{ env "DOMAIN" }};
location / {
uwsgi_pass webuwsgi;
include uwsgi_params;
uwsgi_read_timeout 300;
}
location /static/ {
alias /opt/mailman-web-data/static;
autoindex off;
}
}
}