diff options
| author | Christian Cleberg <[email protected]> | 2026-04-15 18:54:27 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-04-15 18:54:27 -0500 |
| commit | 2d761bd22862b967adfbe7e9d6d955d7fe5aef1c (patch) | |
| tree | ea6c99a017ad1206820c9b49e242fae40ef6be0a /linux/nginx/etc | |
| parent | 84b06509bf3e950c6b86553052dcd881191551cc (diff) | |
| download | dotfiles-2d761bd22862b967adfbe7e9d6d955d7fe5aef1c.tar.gz dotfiles-2d761bd22862b967adfbe7e9d6d955d7fe5aef1c.tar.bz2 dotfiles-2d761bd22862b967adfbe7e9d6d955d7fe5aef1c.zip | |
increase hash size
Diffstat (limited to 'linux/nginx/etc')
| -rw-r--r-- | linux/nginx/etc/nginx/nginx.conf | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/nginx/etc/nginx/nginx.conf b/linux/nginx/etc/nginx/nginx.conf index 92d3d1c..81324f1 100644 --- a/linux/nginx/etc/nginx/nginx.conf +++ b/linux/nginx/etc/nginx/nginx.conf @@ -56,6 +56,10 @@ pid /var/run/nginx.pid; http { + # Before any `map` (cache_expiration.conf, content_type_maps, backend_address). + # https://nginx.org/en/docs/http/ngx_http_map_module.html#map_hash_bucket_size + map_hash_bucket_size 128; + # Hide Nginx version information. include custom.d/security/server_software_information.conf; @@ -106,10 +110,6 @@ http { # Specify file cache expiration. include custom.d/web_performance/cache_expiration.conf; - # Default map hash is too small for many long Host keys (.onion) in backend_address. - # https://nginx.org/en/docs/http/ngx_http_map_module.html#map_hash_bucket_size - map_hash_bucket_size 128; - include custom.d/http/content_type_maps.conf; # Fix for onion links |
