Update default.conf
Browse files- default.conf +1 -2
default.conf
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
server {
|
2 |
-
listen 8080 default_server;
|
3 |
listen [::]:8080 default_server;
|
4 |
|
5 |
root /usr/share/nginx/html;
|
@@ -21,7 +21,6 @@ server {
|
|
21 |
root /usr/share/nginx/html;
|
22 |
}
|
23 |
|
24 |
-
# If you still need the /custom-auth location from your old configuration, add it here
|
25 |
location /custom-auth {
|
26 |
proxy_pass http://localhost:8000;
|
27 |
proxy_http_version 1.1;
|
|
|
1 |
server {
|
2 |
+
listen 127.0.0.1:8080 default_server;
|
3 |
listen [::]:8080 default_server;
|
4 |
|
5 |
root /usr/share/nginx/html;
|
|
|
21 |
root /usr/share/nginx/html;
|
22 |
}
|
23 |
|
|
|
24 |
location /custom-auth {
|
25 |
proxy_pass http://localhost:8000;
|
26 |
proxy_http_version 1.1;
|