Files
Jody-Portfolio/ops/nginx-contact-api.conf
2026-02-18 23:03:52 -06:00

10 lines
342 B
Plaintext

# Place inside your HTTPS server block for the portfolio domain.
location /api/ {
proxy_pass http://127.0.0.1:8787/;
proxy_http_version 1.1;
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;
}