Welcome! Log In Create A New Profile

Advanced

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

antituhan
May 01, 2012 05:38AM
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@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.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

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

antituhan May 01, 2012 05:38AM

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

Cliff Wells May 01, 2012 12:22PM

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

antituhan May 01, 2012 01:00PM

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

elico May 01, 2012 01:02PM

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

Francis Daly May 01, 2012 01:54PM

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

Cliff Wells May 01, 2012 02:30PM

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

antituhan May 01, 2012 10:22PM

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

Cliff Wells May 02, 2012 12:58AM

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

antituhan May 03, 2012 09:02AM

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

Francis Daly May 03, 2012 06:44PM

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

antituhan May 11, 2012 01:00AM

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

Francis Daly May 11, 2012 04:06AM

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

antituhan November 27, 2012 07:10AM

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

Francis Daly November 30, 2012 05:40PM

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

antituhan December 04, 2012 11:12AM

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

Francis Daly December 04, 2012 12:46PM

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

antituhan December 05, 2012 09:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 236
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready