Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] ngx_conf_file: "include ./" acts relative to currently parsed file

Guillaume Outters
September 09, 2019 12:16PM
Maxim Dounin a écrit:

> There were no way to use variables in ssl_certificate till nginx
> 1.15.9 released this year. There are no variables support in the
> ssl_stapling_file directive and various other directives, such as
> ssl_client_certificate, ssl_ecdh_param, and so on. Yet all these
> directives currently use consistent path resolution - from
> configuration prefix. And preserving this consistency is
> important. That's why don't like the idea to introduce yet
> another incompatible machanism to resolve file names.

Thank you Maxim for your return on that; in parallel, I arrived to the
same conclusion while reviewing a file mixing includes and
ssl_certificates: mixing "short" nearby syntax (from my patch), and long
syntax for non-nearby directives, immediately looked incoherent.

I'll try to experiment with other syntaxes (… and implementations,
which may take a bit of time); I really feel the need for a simpler,
cleaner, more readable and less error-prone, syntax for self-contained
(app + config) web folders. Evaluation cost at config compile time could
be neglectable, and ease deployment by removing a templating step (every
added step being a potential source of errors).

--
Guillaume
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] ngx_conf_file: "include ./" acts relative to currently parsed file

Guillaume Outters 130 August 29, 2019 03:02PM

Re: [PATCH] ngx_conf_file: "include ./" acts relative to currently parsed file

Maxim Dounin 37 August 30, 2019 10:04AM

Re: [PATCH] ngx_conf_file: "include ./" acts relative to currently parsed file

Guillaume Outters 31 August 30, 2019 10:28AM

Re: [PATCH] ngx_conf_file: "include ./" acts relative to currently parsed file

Maxim Dounin 33 September 03, 2019 10:40AM

Re: [PATCH] ngx_conf_file: "include ./" acts relative to currently parsed file

Guillaume Outters 32 September 03, 2019 12:24PM

Re: [PATCH] ngx_conf_file: "include ./" acts relative to currently parsed file

Maxim Dounin 31 September 09, 2019 06:50AM

Re: [PATCH] ngx_conf_file: "include ./" acts relative to currently parsed file

Guillaume Outters 41 September 09, 2019 12:16PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

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