update rev proxy example

This commit is contained in:
undefined committed 2021-05-12 23:12:48 +08:00
1 parent 5aee8d3552
commit 33211aa7dc
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -8,10 +8,11 @@ server {
}
location @proxy_to_app {
proxy_pass http://unix:/home/hydro/hydro.sock;
proxy_pass http://localhost:8888;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header X-Real-Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
}
}