添加 proxy_pass/forwarded.conf

This commit is contained in:
Dallas Lu 2026-06-05 04:19:30 +00:00
parent 332a1141ce
commit cb3657ac36

View file

@ -0,0 +1,9 @@
proxy_set_header Host $http_host;
proxy_set_header Scheme $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Destination $http_destination;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-NginX-Proxy true;