部署策略: 1、nginx提供反向代理 2、wampServer提供php运行环境 问题:偶尔出现504 Gateway Time-out 一、nginx配置优化 server { listen 8080; server_name localhost; #access_log logs/host.access.log main; location / { root D:/dist; index index.html index.htm; } location ~ ^/(api)/ { proxy_redirect …