Update default.conf
Browse files- default.conf +23 -23
default.conf
CHANGED
@@ -1,23 +1,23 @@
|
|
1 |
-
|
2 |
-
server {
|
3 |
-
listen
|
4 |
-
server_name localhost;
|
5 |
-
|
6 |
-
root /usr/share/nginx/html;
|
7 |
-
index index.html index.htm;
|
8 |
-
location / {
|
9 |
-
try_files $uri $uri/ /index.html;
|
10 |
-
}
|
11 |
-
|
12 |
-
location /custom-auth {
|
13 |
-
proxy_pass http://localhost:8000;
|
14 |
-
proxy_http_version 1.1;
|
15 |
-
proxy_set_header Upgrade $http_upgrade;
|
16 |
-
proxy_set_header Connection 'upgrade';
|
17 |
-
proxy_set_header Host $host;
|
18 |
-
proxy_cache_bypass $http_upgrade;
|
19 |
-
}
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
}
|
|
|
1 |
+
|
2 |
+
server {
|
3 |
+
listen 8080;
|
4 |
+
server_name localhost;
|
5 |
+
|
6 |
+
root /usr/share/nginx/html;
|
7 |
+
index index.html index.htm;
|
8 |
+
location / {
|
9 |
+
try_files $uri $uri/ /index.html;
|
10 |
+
}
|
11 |
+
|
12 |
+
location /custom-auth {
|
13 |
+
proxy_pass http://localhost:8000;
|
14 |
+
proxy_http_version 1.1;
|
15 |
+
proxy_set_header Upgrade $http_upgrade;
|
16 |
+
proxy_set_header Connection 'upgrade';
|
17 |
+
proxy_set_header Host $host;
|
18 |
+
proxy_cache_bypass $http_upgrade;
|
19 |
+
}
|
20 |
+
|
21 |
+
|
22 |
+
|
23 |
+
}
|