Thanks you for your answer, you helped me to make it working. ;) This is my final configuration : server { listen 80; server_name mydomain; root /server/www; location @rewriteMainApp { rewrite ^(.*)$ /app.php/$1 last; } location @rewriteOtherApp1 { rewrite ^(.*)$ /subdir1/app.php/$1 last; } location /subdir1 { alias /server/www/other-app1/web; index app.php; set $subfoldeby Claros - Nginx Mailing List - English
Le 28/12/2014 20:30, Steve Holdoway a écrit : > On Sat, 2014-12-27 at 05:52 -0500, Claros wrote: >> Hello everybody ! >> >> I just switched from Apache2 to Nginx and I met some issues having the same >> configuration. What I want to do is having multiple Symfony2 apps on the >> same domain name. Each app will have a subdirectory and a main app will be >> onby Claros - Nginx Mailing List - English
Hello everybody ! I just switched from Apache2 to Nginx and I met some issues having the same configuration. What I want to do is having multiple Symfony2 apps on the same domain name. Each app will have a subdirectory and a main app will be on the domain name itself. For instance : http://mydomain/ -> main app http://mydomain/subdir1 -> another app http://mydomain/subdby Claros - Nginx Mailing List - English