mirror of
http://junepve.top:3000/chicrobot/README.git
synced 2026-10-30 00:41:29 +08:00
更新 c1_docker运行nginx.md
This commit is contained in:
1 parent
86ff9ff976
commit
53468523ff
1 file changed
-9
@@ -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";
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
Reference in new issue
Block a user