fix: prevent origin token from being forwarded upstream

This commit is contained in:
lingkai5wu committed 2026-09-22 13:09:23 +08:00
1 parent adcdf6e8c8
commit 9ad36c999c
1 file changed
+1
+1
View File
@@ -7,6 +7,7 @@ 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;
proxy_set_header X-Origin-Token '';
# enable websockets: http://nginx.org/en/docs/http/websocket.html
proxy_http_version 1.1;