server { listen 80; server_name shanpao.icu; Location / {proxy_pass http://127.0.0.1:4000; try_files $uri $uri/ /index.html; }}Copy the code