Welcome! Log In Create A New Profile

Advanced

Re: nginx undocumented directives

December 28, 2017 07:28AM
Hi Gena,

On Thu, Dec 28, 2017 at 12:42:25PM +0200, Gena Makhomed wrote:
> Hello, All!
>
> Scanning nginx sources and nginx documentation
> I found some directives, which present in nginx sources
> but absent in nginx documentation:

Internally, we have a document that explains why certain directives
are undocumented.

> acceptex_read
> iocp_threads
> post_acceptex
+ use iocp

These are undocumented b/c ngx_iocp_module is non-functional.

> devpoll_changes
> devpoll_events
> epoll_events
> eventport_events
> kqueue_changes
> kqueue_events
> gzip_hash
> gzip_no_buffer
> gzip_window
> postpone_gzipping
> http2_pool_size
> http2_streams_index_size

These are undocumented b/c we consider them "excessive configuraion".

> ssi_ignore_recycled_buffers

This used to be a hack for one big company, but isn't suitable for
general consumption.

> uwsgi_string

This is undocumented with the following notes: "no working examples,
no eval in recent uWSGI). Sorry, but I don't remember what exactly
this means. :)

> degradation
> degrade

This module needs more work.

> post_action

You already know the answer.

> smtp_client_buffer
> smtp_greeting_delay

There are no notes of why these aren't documented.

> post_action is known dangerous directive, it undocumented
> by purpose and in vim syntax file it marked accordingly:
>
> syn keyword ngxDirectiveError contained post_action
>
> But what about all rest undocumented directives, they are undocumented
> by purpose or through inadvertence, and may be in the near future
> all it (except post_action directive) will be documented?
>
> And second question: how they are should be marked in nginx syntax file,
> as normal nginx directives, or color mark it as undocumented directives?
>
> For example:
>
> syn keyword ngxDirectiveUndocumented contained acceptex_read
> syn keyword ngxDirectiveUndocumented contained degradation
> ...
> syn keyword ngxDirectiveUndocumented contained uwsgi_string
>
> hi link ngxDirectiveUndocumented Constant


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

nginx undocumented directives

Gena Makhomed 1133 December 28, 2017 05:44AM

Re: nginx undocumented directives

ru@nginx.com 597 December 28, 2017 07:28AM

Re: nginx undocumented directives

Maxim Dounin 395 December 28, 2017 08:20AM

Re: nginx undocumented directives

Gena Makhomed 343 February 05, 2018 10:52AM

Re: nginx undocumented directives

Maxim Dounin 389 February 05, 2018 11:42AM

Re: nginx undocumented directives

Yaroslav Zhuravlev 393 February 13, 2018 06:04AM

Re: nginx undocumented directives

Gena Makhomed 332 March 20, 2018 06:54AM

Re: nginx undocumented directives

Maxim Konovalov 320 March 20, 2018 06:56AM

Re: nginx undocumented directives

Yaroslav Zhuravlev 417 March 21, 2018 05:10AM



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

Online Users

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