search

Home  >  Q&A  >  body text

node.js - 前后端分离,404/500页面如何渲染?

PHP中文网PHP中文网2787 days ago291

reply all(1)I'll reply

  • PHPz

    PHPz2017-04-17 16:15:17

    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.

    reply
    0
  • Cancelreply