通过ng服务做静态代理访问服务器图片
server { listen 80; server_name xxxx; charset utf-8; proxy_connect_timeout 180; proxy_send_timeout 180; proxy_read_timeout 180; proxy_set_header Host $host; proxy_set_header X-Forwarder-For $remote_addr; location /images{ #服务器存放文件的路径 alias /home/images/; autoindex on; } location /six-map{ proxy_pass http: } access_log /www/wwwlogs/access.log; }