I have Mojolicious based applications that happily work under Apache2 with mod_cgi and mod_fastcgi.
URLs for example:
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
I had relative success in setting up applications as subdomains using proxy_pass but I would like to keep the old URLs (just switch from apache2 to nginx). I would like to keep the same URLs, but run applications using nginx. What should my configuration look like and how do I run applications.
Thanks in advance!
source share