更新 c1_docker运行nginx.md

This commit is contained in:
chicrobot committed 2026-01-21 13:54:47 +08:00
1 parent 86ff9ff976
commit 53468523ff
1 file changed
-9
-9
View File
@@ -45,14 +45,5 @@ location /uri {
``` ```
location /uri/ { location /uri/ {
proxy_pass http://127.0.0.1:port/; proxy_pass http://127.0.0.1:port/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
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_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
} }
``` ```