zhuyou commited on
Commit
b030189
1 Parent(s): 7736d59
Files changed (1) hide show
  1. nginx.conf +0 -7
nginx.conf CHANGED
@@ -30,13 +30,6 @@ http {
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;
35
- proxy_set_header X-Real-IP $remote_addr;
36
- proxy_set_header REMOTE-HOST $remote_addr;
37
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
38
- proxy_pass http://localhost:7777/static;
39
- }
40
  location /nas/ {
41
  proxy_set_header Host $http_host;
42
  proxy_set_header X-Real-IP $remote_addr;
 
30
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
31
  proxy_pass http://localhost:7777/;
32
  }
 
 
 
 
 
 
 
33
  location /nas/ {
34
  proxy_set_header Host $http_host;
35
  proxy_set_header X-Real-IP $remote_addr;