Describe the bug
The custom http_top.conf file should be injected above Default upstream scheme piece in http.conf file. The current setup avoids customizing map_xxx directive such as map_hash_bucket_size, which is needed when redirection maps are used: https://nginx.org/en/docs/http/ngx_http_map_module.html
The current implementation produces an error when any map_xxx directive is set up.
Nginx Proxy Manager Version
2.10.4
To Reproduce
Steps to reproduce the behavior:
Create a custom http_top.conf file
Add map_hash_bucket_size 1024; to increase the default map size.
Execute nginx -t to check the config.
See error
Expected behavior
If the http_top.conf injection is displaced above the following piece of code in the nginx.conf file, everything works as expected.
Describe the bug The custom
http_top.conf
file should be injected aboveDefault upstream scheme
piece in http.conf file. The current setup avoids customizingmap_xxx
directive such asmap_hash_bucket_size
, which is needed when redirection maps are used: https://nginx.org/en/docs/http/ngx_http_map_module.htmlThe current implementation produces an error when any
map_xxx
directive is set up.Nginx Proxy Manager Version 2.10.4
To Reproduce Steps to reproduce the behavior:
map_hash_bucket_size 1024;
to increase the default map size.nginx -t
to check the config.Expected behavior If the
http_top.conf
injection is displaced above the following piece of code in the nginx.conf file, everything works as expected.Code:
Screenshots
Operating System Docker on AMD64
Additional context