Kano001 commited on
Commit
f27299a
1 Parent(s): caf9ce7

Update nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +13 -0
nginx.conf CHANGED
@@ -37,4 +37,17 @@ server {
37
  proxy_send_timeout 86400;
38
  proxy_redirect off;
39
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  }
 
37
  proxy_send_timeout 86400;
38
  proxy_redirect off;
39
  }
40
+
41
+ location /terminal/ {
42
+ proxy_pass http://localhost:3000;
43
+ proxy_http_version 1.1;
44
+ proxy_set_header Upgrade $http_upgrade;
45
+ proxy_set_header Connection 'upgrade';
46
+ proxy_set_header Host $host;
47
+ proxy_set_header X-Real-IP $remote_addr;
48
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
49
+ proxy_cache_bypass $http_upgrade;
50
+ proxy_read_timeout 86400;
51
+ proxy_redirect off;
52
+ }
53
  }