cmc/dotfiles

Using GNU Stow to manage my dotfiles. config dotfiles macos stow

Commit 2d761bd228

2d761bd22862b967adfbe7e9d6d955d7fe5aef1c

parent: 84b06509bf

Verified · cmc

cmc <hello@cleberg.net> · 2026-04-15 23:54 UTC

increase hash size

Layout: unified · split

linux/nginx/etc/nginx/nginx.conf +4 −4
@@ -56,6 +56,10 @@ pid /var/run/nginx.pid;
56 56
57http { 57http {
58 58
59 # Before any `map` (cache_expiration.conf, content_type_maps, backend_address).
60 # https://nginx.org/en/docs/http/ngx_http_map_module.html#map_hash_bucket_size
61 map_hash_bucket_size 128;
62
59 # Hide Nginx version information. 63 # Hide Nginx version information.
60 include custom.d/security/server_software_information.conf; 64 include custom.d/security/server_software_information.conf;
61 65
@@ -106,10 +110,6 @@ http {
106 # Specify file cache expiration. 110 # Specify file cache expiration.
107 include custom.d/web_performance/cache_expiration.conf; 111 include custom.d/web_performance/cache_expiration.conf;
108 112
109 # Default map hash is too small for many long Host keys (.onion) in backend_address.
110 # https://nginx.org/en/docs/http/ngx_http_map_module.html#map_hash_bucket_size
111 map_hash_bucket_size 128;
112
113 include custom.d/http/content_type_maps.conf; 113 include custom.d/http/content_type_maps.conf;
114 114
115 # Fix for onion links 115 # Fix for onion links