new-site/infra/nginx/pw-listmonk.conf
justin f8cd37ac8c Initial commit — Performance West telecom compliance platform
Includes: API (Express/TypeScript), Astro site, Python workers,
document generators, FCC compliance tools, Canada CRTC formation,
Ansible infrastructure, and deployment scripts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-27 06:54:22 -05:00

38 lines
1.2 KiB
Text

# Listmonk — lists.performancewest.net
server {
listen 443 ssl;
http2 on;
server_name lists.performancewest.net;
ssl_certificate /etc/letsencrypt/live/lists.performancewest.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/lists.performancewest.net/privkey.pem;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_session_cache shared:SSL:10m;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
client_max_body_size 50m;
# Listmonk admin UI + API
location / {
proxy_pass http://127.0.0.1:9100;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_http_version 1.1;
proxy_read_timeout 300s;
proxy_send_timeout 300s;
}
location /.well-known/acme-challenge/ {
root /var/www/certbot;
}
}
server {
listen 80;
server_name lists.performancewest.net;
location /.well-known/acme-challenge/ { root /var/www/certbot; }
location / { return 301 https://$host$request_uri; }
}