memex-in commited on
Commit
12857b9
·
verified ·
1 Parent(s): bd7da39

Update nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +2 -5
nginx.conf CHANGED
@@ -1,11 +1,8 @@
1
- # nginx.conf
2
-
3
  worker_processes auto;
4
  events { worker_connections 1024; }
5
 
6
  http {
7
- client_body_temp_path /tmp/nginx/client_temp;
8
- pid /tmp/nginx/nginx.pid; # write PID in /tmp instead
9
 
10
  server {
11
  listen 7860;
@@ -14,7 +11,7 @@ http {
14
  proxy_pass http://127.0.0.1:7861/;
15
  proxy_http_version 1.1;
16
  proxy_set_header Upgrade $http_upgrade;
17
- proxy_set_header Connection "upgrade";
18
  }
19
 
20
  location /ws {
 
 
 
1
  worker_processes auto;
2
  events { worker_connections 1024; }
3
 
4
  http {
5
+ client_body_temp_path /tmp/nginx/client_body_temp;
 
6
 
7
  server {
8
  listen 7860;
 
11
  proxy_pass http://127.0.0.1:7861/;
12
  proxy_http_version 1.1;
13
  proxy_set_header Upgrade $http_upgrade;
14
+ proxy_set_header Connection "Upgrade";
15
  }
16
 
17
  location /ws {