Update nginx.conf
Browse files- nginx.conf +2 -3
nginx.conf
CHANGED
@@ -70,15 +70,14 @@ http {
|
|
70 |
|
71 |
root /var/www/example.com;
|
72 |
index index.html;
|
73 |
-
location /stable-ffbec093603a4e433a4668e4acd2706f07657159
|
|
|
74 |
proxy_http_version 1.1;
|
75 |
proxy_set_header Upgrade $http_upgrade;
|
76 |
proxy_set_header Connection "Upgrade";
|
77 |
proxy_set_header Host $host;
|
78 |
proxy_read_timeout 86400;
|
79 |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
80 |
-
proxy_redirect off;
|
81 |
-
proxy_pass http://127.0.0.1:5050;
|
82 |
}
|
83 |
|
84 |
location ~ /codeserver/(.*) {
|
|
|
70 |
|
71 |
root /var/www/example.com;
|
72 |
index index.html;
|
73 |
+
location /stable-ffbec093603a4e433a4668e4acd2706f07657159 {
|
74 |
+
proxy_pass http://127.0.0.1:5050;
|
75 |
proxy_http_version 1.1;
|
76 |
proxy_set_header Upgrade $http_upgrade;
|
77 |
proxy_set_header Connection "Upgrade";
|
78 |
proxy_set_header Host $host;
|
79 |
proxy_read_timeout 86400;
|
80 |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
|
81 |
}
|
82 |
|
83 |
location ~ /codeserver/(.*) {
|