Hello nginxx, I came to have the same problem as I was used to install php applications into a http://wiki.nginx.org/NonRootWebPathApacheStyle directory. I worked around this problem like so. This redirects everything from host/app to app.host: server { server_name host; rewrite ^/app(/.*)?$ http://app.host$1 permanent; .... # Then create a separate server section for app.host... I knoby Lenzelot - How to...
![]() |
![]() |
![]() |
![]() |
|