hamza82 commited on
Commit
acf1327
·
verified ·
1 Parent(s): 95b236d

Update nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +3 -3
nginx.conf CHANGED
@@ -1,7 +1,7 @@
1
 
2
  server {
3
- listen 7860 default_server;
4
- listen [::]:7860 default_server;
5
 
6
  server_name _;
7
 
@@ -15,7 +15,7 @@ server {
15
 
16
  location /custom-auth/ {
17
  # Serve backend from port
18
- rewrite /static/(.*) /$1 break;
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;