Files
2026-07-22 14:50:16 -04:00

22 lines
697 B
Nginx Configuration File

server {
listen 80;
server_name features.ltservicesinc.com; # <-- change to your domain
# Serve static assets directly from Nginx (faster than proxying).
location /static/ {
alias /opt/jqc-features/static/;
expires 7d;
access_log off;
}
location / {
proxy_pass http://127.0.0.1:8000;
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;
}
}
# After DNS points at this box, add TLS with: sudo certbot --nginx -d features.ltservicesinc.com