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

23 lines
470 B
Plaintext
Raw Normal View History

2021-05-01 15:13:49 -04:00
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;
2022-02-18 15:08:53 -05:00
location /static/ {
alias /etc/mailman3/static/;
2021-05-01 15:13:49 -04:00
}
2022-02-18 15:08:53 -05:00
location / {
proxy_pass http://127.0.0.1:6475;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
2021-05-01 15:13:49 -04:00
}
}