我可以将Strapi部署到现有网站的子文件夹(使用Apache反向代理)吗?

时间:2018-04-21 13:31:17

标签: node.js apache strapi

例如,我的网站是https://example.com/,我想通过网址https://example.com/strapi/访问Strapi网站,我的Apache反向代理配置是:

ProxyPreserveHost On
ProxyPass        /strapi http://0.0.0.0:1337/
ProxyPassReverse /strapi http://0.0.0.0:1337/

有人知道解决方案吗?我知道使用子域而不是子文件夹可能是一个解决方案,但这不是我想要的方式。

0 个答案:

没有答案