zhuyou commited on
Commit
8632f11
1 Parent(s): 5597edc
Files changed (1) hide show
  1. nginx.conf +3 -3
nginx.conf CHANGED
@@ -20,15 +20,15 @@ http {
20
  proxy_set_header X-Real-IP $remote_addr;
21
  proxy_set_header REMOTE-HOST $remote_addr;
22
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
23
- proxy_pass http://localhost:7777/;
24
  }
25
 
26
- location ^~ /user/ {
27
  proxy_set_header Host $http_host;
28
  proxy_set_header X-Real-IP $remote_addr;
29
  proxy_set_header REMOTE-HOST $remote_addr;
30
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
31
- proxy_pass http://localhost:7777/;
32
  }
33
  location ^~ /static/ {
34
  proxy_set_header Host $http_host;
 
20
  proxy_set_header X-Real-IP $remote_addr;
21
  proxy_set_header REMOTE-HOST $remote_addr;
22
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
23
+ proxy_pass http://localhost:7000;
24
  }
25
 
26
+ location /user {
27
  proxy_set_header Host $http_host;
28
  proxy_set_header X-Real-IP $remote_addr;
29
  proxy_set_header REMOTE-HOST $remote_addr;
30
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
31
+ proxy_pass http://localhost:7000/;
32
  }
33
  location ^~ /static/ {
34
  proxy_set_header Host $http_host;