new-site/infra/ansible/roles/nginx/templates/pw-mautic-tls.conf.j2
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

26 lines
757 B
Django/Jinja

# Mautic Email Marketing — mail.performancewest.net
server {
listen 443 ssl http2;
server_name {{ mautic_domain }};
ssl_certificate /etc/letsencrypt/live/{{ mautic_domain }}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/{{ mautic_domain }}/privkey.pem;
include /etc/nginx/conf.d/pw-security.conf;
client_max_body_size 20m;
location / {
proxy_pass http://127.0.0.1:{{ mautic_port }};
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;
}
}
server {
listen 80;
server_name {{ mautic_domain }};
return 301 https://$host$request_uri;
}