additional config changes for double proxy.

This commit is contained in:
2026-07-04 20:37:21 +00:00
parent 4b8b5b6b2b
commit 97044bd854
+1 -1
View File
@@ -32,7 +32,7 @@ server {
proxy_set_header Referer $http_referer; proxy_set_header Referer $http_referer;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_for_proto; proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Host $host;
# Disable caching through the double-proxy chain (NPM → frontend nginx → API) # Disable caching through the double-proxy chain (NPM → frontend nginx → API)