Skip to content

Commit ca070a6

Browse files
authored
Update nginx-site.conf
1 parent 4eb8410 commit ca070a6

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

examples/nginx-site.conf

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
upstream app_server {
2-
server unix:/home/vj4/vj4.sock fail_timeout=0;
3-
}
4-
5-
map $http_upgrade $connection_upgrade {
6-
default upgrade;
7-
'' close;
8-
}
9-
101
server {
112
listen 8080;
123
server_name localhost;
@@ -17,7 +8,7 @@ server {
178
}
189

1910
location @proxy_to_app {
20-
proxy_pass http://app_server;
11+
proxy_pass http://unix:/home/vj4/vj4.sock;
2112
proxy_http_version 1.1;
2213
proxy_set_header Upgrade $http_upgrade;
2314
proxy_set_header Connection $connection_upgrade;

0 commit comments

Comments
 (0)