server { listen 8080; server_name honorlee.natappvip.cc; root {Your SugarNode [dist] path}; #root /Volumes/HonorLee/Develop/work/Fan/WebServer; location ~.*\.(jpg|png|gif|txt|html)$ { try_files $uri @proxy; } location /example { add_header Cache-Control no-store; try_files $uri $uri @proxy; } location /asset { add_header Cache-Control no-store; try_files $uri $uri @proxy; } location / { add_header Access-Control-Allow-Origin *; proxy_pass http://127.0.0.1:8080; client_max_body_size 20m; } }