Open 349989153 opened 4 years ago
server { listen 80; server_name newtimecenter.gxrb.com.cn; location / { root /usr/node/newTimeCenter; index index.html index.htm; } location /pages { alias /usr/node/newTimeCenter; try_files $uri $uri/ /index.html; } }
这是适应单页应用的router的配置