# 接口代理 location /cxyy/api { proxy_pass http://127.0.0.1:19700; } # 静态文件上传与读取 location /files/ { rewrite ^/files/(.*)$ /$1 break; proxy_pass http://127.0.0.1:19700; }