Welcome! Log In Create A New Profile

Advanced

Re: use subdirectories instead of subdomains

April 25, 2014 04:44PM
Hello,

On 4/25/14, 3:59 PM, Thuban wrote:
> * Jim Ohlstein <jim@ohlste.in> le [25-04-2014 14:17:33 -0400]:
>> Hello,
>>
>> On 4/25/14, 1:17 PM, Thuban wrote:

[snip]

>>
>> I'm still not sure you've actually given a reason why you need an alias.
>>
> Infact, I don't have a good reason for using alias, I just found this
> proposal on the web while I was trying to configure this.

Blindly following a "tutorial" without understanding what it does can be
a recipe for problems like this.

>
> I also would like to use includes, because I might need to add other
> services on the host and keeping things clean.
>
> The idea is to define some subdirectories as is they were "new root".

I agree that they provide for easy maintenance. However, in this case
you have errors are coming from the included file. That's why I said to
try putting it all in your nginx.conf first until you get it working.
For me (and perhaps only me), I find it easier working with one file
when I'm trying to debug a configuration problem.

>
> Sorry if my english isn't clear...
>
> Thank you for links, I will read.
>



--
Jim Ohlstein


"Never argue with a fool, onlookers may not be able to tell the
difference." - Mark Twain

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

use subdirectories instead of subdomains

Thuban April 25, 2014 12:08PM

Re: use subdirectories instead of subdomains

Jim Ohlstein April 25, 2014 12:54PM

Re: use subdirectories instead of subdomains

Thuban April 25, 2014 01:20PM

Re: use subdirectories instead of subdomains

Jim Ohlstein April 25, 2014 02:18PM

Re: use subdirectories instead of subdomains

Thuban April 25, 2014 04:00PM

Re: use subdirectories instead of subdomains

Jim Ohlstein April 25, 2014 04:44PM

Re: use subdirectories instead of subdomains

Thuban April 27, 2014 12:18PM

Re: use subdirectories instead of subdomains

itpp2012 April 25, 2014 03:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 91
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready