node.js - 前后端分离,404/500页面如何渲染?
PHP中文网
PHP中文网 2017-04-17 16:13:17
0
1
288
PHP中文网
PHP中文网

认证0级讲师

reply all(1)
PHPzhong

If it is a spa, write 404 and 505 pages in the router

Otherwise, configure the URLs of 404 and 500 pages in the nginx configuration and redirect through nginx.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template