|
|
@ -34,8 +34,9 @@ server |
|
|
|
# root /data/flyapp/fir_ser/; |
|
|
|
# root /data/flyapp/fir_ser/; |
|
|
|
# rewrite ^/download/(.*) /files/$1 break; |
|
|
|
# rewrite ^/download/(.*) /files/$1 break; |
|
|
|
# } |
|
|
|
# } |
|
|
|
|
|
|
|
# 如果使用cdn,需要配置该选项 |
|
|
|
|
|
|
|
set_real_ip_from 0.0.0.0/0; |
|
|
|
|
|
|
|
real_ip_header X-Forwarded-For; |
|
|
|
|
|
|
|
|
|
|
|
location ~ ^/(download|api|files|udid|captcha) { |
|
|
|
location ~ ^/(download|api|files|udid|captcha) { |
|
|
|
#proxy_pass http://synchrotron; |
|
|
|
#proxy_pass http://synchrotron; |
|
|
|