Hi there,

i wanted to try something like a Wildcard DocRoot:


 server {
        listen 80;
        root /var/www/branches/*/current/web/;
        server_name auto.deploy.fcse.int;

The Setup looks like this:

 /var/www/branches/develop/current/web/
 /var/www/branches/master/current/web/
 /var/www/branches/feature1/current/web/
 /var/www/branches/feature2/current/web/

I wanted now to open the URL like this: auto.deploy.fcse.int/master/ or 
/develop and so on.

The Problem is that all „projects“ are Symfony projects so current/web must 
always be set :-/

I hope you guys understand what  mean ;)

Cheers

Daniel
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to