Does "include" use the "configuration prefix" or the "path prefix"?
B.R.
reallfqq-nginx at yahoo.fr
Tue Apr 12 16:13:58 UTC 2016
I found some bits: prefix is explained on the command-line parameters docs
page <http://nginx.org/en/docs/switches.html> and, in a little more vebose
fashion, in an nginx.com tutorial
<https://www.nginx.com/resources/wiki/start/topics/tutorials/installoptions/>,
probably thanks to Rick Nelson.
Life's lesson: never consider anything as obvious for everyone... Easy to
say, hard to apply.
---
*B. R.*
On Tue, Apr 12, 2016 at 6:05 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:
> Hello!
>
> On Mon, Apr 11, 2016 at 07:54:58PM +0000, hroku003 at yahoo.com wrote:
>
> > THank you very much for confirmation.
> > Is this documented anywhere?
>
> I don't think it's explicitly documented anywhere except in
> CHANGES for 0.6.7 (http://nginx.org/en/CHANGES):
>
> *) Change: now the paths specified in the "include",
> "auth_basic_user_file", "perl_modules", "ssl_certificate",
> "ssl_certificate_key", and "ssl_client_certificate" directives are
> relative to directory of nginx configuration file nginx.conf, but
> not
> to nginx prefix directory.
>
> Basically, there are two types of paths in nginx configuration:
>
> - configuration-specific paths (include, SSL certs/keys,
> auth_basic_user_file - that is, things that naturally a part of
> configuration), resolved relative to nginx.conf file;
>
> - all other paths, resolved from prefix.
>
> This should be documented somewhere, and we already have a ticket
> for a related question, https://trac.nginx.org/nginx/ticket/781.
>
> --
> Maxim Dounin
> http://nginx.org/
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20160412/234a225c/attachment.html>
More information about the nginx
mailing list