15 Apr
2019
15 Apr
'19
2:20 p.m.
- roger hislop:
This works for HTTP, HTTPS works but it (apparently) is not serving static content.
The following config snippet works for me:
# vim:ts=4:ft=nginx server { listen *:443 ssl; listen [::]:443 ssl; server_name lists.example.com; # Settings for cipher preferences, logs, etc. omitted
location /static/ {
alias /var/lib/nginx/mailman/mailman-suite/mailman-suite_project/static/;
}
location / {
include uwsgi_params;
uwsgi_pass unix:///run/nginx/uwsgi-sock;
}
}
-Ralph