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

23 lines
470 B
Plaintext

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name lists.libraryofcode.org;
ssl_certificate /etc/nginx/ssl/org.chain.crt;
ssl_certificate_key /etc/nginx/ssl/org.key.pem;
client_max_body_size 1G;
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;
}
}