Welcome! Log In Create A New Profile

Advanced

Re: Does "include" use the "configuration prefix" or the "path prefix"?

Anonymous User
April 11, 2016 04:00PM
THank you very much for confirmation.
Is this documented anywhere?


I looked at various places:
http://nginx.org/en/docs/ngx_core_module.html#include
http://nginx.org/en/docs/switches.html
https://www.nginx.com/resources/wiki/start/topics/tutorials/installoptions/
and I could not find it. (I also tried reading the C source,
https://github.com/nginx/nginx/blob/master/src/core/ngx_conf_file.cbut got lost due to my lack of C experience.)
- diego


On Monday, April 11, 2016 2:43 PM, Maxim Dounin <mdounin@mdounin.ru> wrote:
Hello!

Yes, this is correct behaviour. Configuration-specific paths like
in the "include" directive are resolved relative to the conf prefix,
that is, relative to the directory where nginx.conf file resides.

--
Maxim Dounin
http://nginx.org/

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

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

Does "include" use the "configuration prefix" or the "path prefix"?

Anonymous User April 11, 2016 02:58PM

Re: Does "include" use the "configuration prefix" or the "path prefix"?

Maxim Dounin April 11, 2016 03:44PM

Re: Does "include" use the "configuration prefix" or the "path prefix"?

Anonymous User April 11, 2016 04:00PM

Re: Does "include" use the "configuration prefix" or the "path prefix"?

B.R. April 12, 2016 12:16PM

Re: Does "include" use the "configuration prefix" or the "path prefix"?

Maxim Dounin April 12, 2016 12:16PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 66
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