在Ubuntu 14.04 LTS中,我们如何设置nginx配置,以满足用户和下面的应用程序的两个条件?
访问
https://example.com/
https://example.com/something
https://example.com/something/happens
实际上会访问:
https://example.com/app
https://example.com/app/something
https://example.com/app/something/happens
但我们希望浏览器url-field显示:
https://example.com/
https://example.com/something
https://example.com/something/happens
该应用需要使用这些链接, / app / 作为链接的一部分:
https://example.com/app
https://example.com/app/something
https://example.com/app/something/happens