[verified] route app-dev API through same-origin proxy

This commit is contained in:
2026-06-07 20:43:20 +01:00
parent 7326b9f3be
commit 7db852aaff
2 changed files with 13 additions and 2 deletions
+6
View File
@@ -61,6 +61,12 @@ RUN echo 'server { \
proxy_set_header X-Real-IP $remote_addr; \
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; \
} \
location /__ccapi/ { \
proxy_pass http://192.168.0.64:18000/; \
proxy_set_header Host $host; \
proxy_set_header X-Real-IP $remote_addr; \
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; \
} \
location /api/ { \
proxy_pass http://192.168.0.64:18000/api/; \
proxy_set_header Host $host; \