configurations/Nginx/Server Blocks/lists.libraryofcode.org.conf

17 lines
336 B
Plaintext

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name lists.libraryofcode.org;
location /static/ {
alias /etc/mailman3/static/;
}
location / {
proxy_pass http://127.0.0.1:6475;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
}
}