Rewrite root address to a subdirectory in nginx

后端 未结 7 753
攒了一身酷
攒了一身酷 2020-12-29 19:55

I\'m converting my mediawiki site to use nginx as a frontend for static files with apache on the backend for php. I\'ve gotten everything working so far except for when I vi

相关标签:
7条回答
  • 2020-12-29 20:27

    If you want to subdir's HTML file for default index.html. For example, copy /main/mainView.html to /index.html and use base tag in index.html to set relative location's base path.

    0 讨论(0)
提交回复
热议问题