summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-04-15 18:53:28 -0500
committerChristian Cleberg <[email protected]>2026-04-15 18:53:28 -0500
commit84b06509bf3e950c6b86553052dcd881191551cc (patch)
tree1e2849c3e6bff6cb8ef98feba57f83b1d5811538
parente4433473801de1249845fe183d93095652c159ea (diff)
downloaddotfiles-84b06509bf3e950c6b86553052dcd881191551cc.tar.gz
dotfiles-84b06509bf3e950c6b86553052dcd881191551cc.tar.bz2
dotfiles-84b06509bf3e950c6b86553052dcd881191551cc.zip
increase hash size
-rw-r--r--linux/nginx/etc/nginx/nginx.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/nginx/etc/nginx/nginx.conf b/linux/nginx/etc/nginx/nginx.conf
index 71b4bde..92d3d1c 100644
--- a/linux/nginx/etc/nginx/nginx.conf
+++ b/linux/nginx/etc/nginx/nginx.conf
@@ -106,6 +106,10 @@ 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