Is it possible using multiple directive on different root location? (Without Symlinks)

antituhan dewanggaba at
Tue May 1 09:36:26 UTC 2012

Hi, basic on, I want to ask my directives like
this :

This directive on balancer :

And then, this directives on backend :

I want to give a subdomain like this, and
/cdn will have a root dir to /home/antituhan/public_html/, and now I use
symlink to static :

So, I can access the domain like this

If I don't use symlink, is it possible to add another directive on nginx?
And if is not possible, is it safe for nginx directive? Thank you

[daemon at ~]# 
View this message in context:
Sent from the nginx mailing list archive at

More information about the nginx mailing list