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

20 lines
564 B
Django/Jinja

# {{ ansible_managed }}
# HTTP-only config for initial certbot provisioning
server {
listen 80;
server_name performancewest.net www.performancewest.net;
# Certbot ACME challenge
location /.well-known/acme-challenge/ {
root {{ certbot_webroot }};
}
location / {
proxy_pass http://127.0.0.1:{{ site_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;
}
}