infra(nginx-nginx): 🧱 Update production Nginx server blocks, SSL configurations, and proxy rules for cocotte.club
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
e3fb416243
commit
a88495b23a
1 changed files with 2 additions and 2 deletions
|
|
@ -82,9 +82,9 @@ server {
|
|||
# ── Upstream proxy: quinn.api runs locally on vps-0 at 127.0.0.1:3030
|
||||
# (same pattern as all other quinn.* vhosts on this host)
|
||||
|
||||
# /api/* → quinn.api
|
||||
# /api/* → quinn.api (strip /api/ prefix — the API has no /api prefix itself)
|
||||
location /api/ {
|
||||
proxy_pass http://127.0.0.1:3030/api/;
|
||||
proxy_pass http://127.0.0.1:3030/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue