Update nginx.conf
Browse files- nginx.conf +3 -3
nginx.conf
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
|
2 |
server {
|
3 |
-
listen
|
4 |
-
listen [::]:
|
5 |
|
6 |
server_name _;
|
7 |
|
@@ -15,7 +15,7 @@ server {
|
|
15 |
|
16 |
location /custom-auth/ {
|
17 |
# Serve backend from port
|
18 |
-
rewrite /
|
19 |
proxy_pass http://localhost:8000;
|
20 |
proxy_http_version 1.1;
|
21 |
proxy_set_header Upgrade $http_upgrade;
|
|
|
1 |
|
2 |
server {
|
3 |
+
listen 8080 default_server;
|
4 |
+
listen [::]:8080 default_server;
|
5 |
|
6 |
server_name _;
|
7 |
|
|
|
15 |
|
16 |
location /custom-auth/ {
|
17 |
# Serve backend from port
|
18 |
+
rewrite /custom-auth/(.*) /$1 break;
|
19 |
proxy_pass http://localhost:8000;
|
20 |
proxy_http_version 1.1;
|
21 |
proxy_set_header Upgrade $http_upgrade;
|