nginx.conf 中添加 include myconfig/*.conf; myconfig/map.conf server { listen 8000; server_name localhost; location / { root amap; index index.html index.htm; } error_page 500 502 503 504 /50x.html; location = /50x.html { root html; }} 文件路径如下: