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

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


Hi, basic on http://wiki.nginx.org/Pitfalls, 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 http://static.antituhan.com/cdn, 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 http://static.antituhan.com/cdn

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 antituhan.com ~]# 
--
View this message in context: http://nginx.2469901.n2.nabble.com/Is-it-possible-using-multiple-directive-on-different-root-location-Without-Symlinks-tp7516384.html
Sent from the nginx mailing list archive at Nabble.com.



More information about the nginx mailing list