【发布时间】:2011-10-21 18:35:38
【问题描述】:
我有一些基于 Mojolicious 的应用程序,它们可以在 Apache2 下使用 mod_cgi 和 mod_fastcgi 愉快地运行。
网址例如:
http://example.org/oneapp/path/info?foo=bar
http://example.org/oneapp?foo=bar
http://example.org/secondapp/path/info?foo=bar
http://example.org/thirdapp/path/info?baz=heh
#etc...
我使用 proxy_pass 将应用程序配置为 subdomains 相对成功 但我想保留旧的网址(只需从 apache2 切换到 nginx)。 我想保留相同的网址,但使用 nginx 运行应用程序。 我的配置应该是什么样的,我应该如何运行应用程序。
提前致谢!
【问题讨论】:
标签: perl apache2 nginx fastcgi mojolicious