cahya commited on
Commit
c1616ad
1 Parent(s): 14f3129

fixed console

Browse files
Files changed (1) hide show
  1. default +2 -2
default CHANGED
@@ -61,7 +61,7 @@ server {
61
  proxy_set_header Connection "upgrade";
62
  }
63
 
64
- location ~ ^/console(.*)$ {
65
  proxy_http_version 1.1;
66
  proxy_set_header Host $host;
67
  proxy_set_header X-Real-IP $remote_addr;
@@ -69,7 +69,7 @@ server {
69
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
70
  proxy_set_header Upgrade $http_upgrade;
71
  proxy_set_header Connection "upgrade";
72
- proxy_pass http://localhost:7681/$1;
73
  }
74
 
75
 
 
61
  proxy_set_header Connection "upgrade";
62
  }
63
 
64
+ location /console/ {
65
  proxy_http_version 1.1;
66
  proxy_set_header Host $host;
67
  proxy_set_header X-Real-IP $remote_addr;
 
69
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
70
  proxy_set_header Upgrade $http_upgrade;
71
  proxy_set_header Connection "upgrade";
72
+ proxy_pass http://localhost:7681/;
73
  }
74
 
75