Commit 84b06509bf
Verified · cmc
Layout: unified · split
linux/nginx/etc/nginx/nginx.conf +4
| @@ -106,6 +106,10 @@ http { | |||
| 106 | # Specify file cache expiration. | 106 | # Specify file cache expiration. |
| 107 | include custom.d/web_performance/cache_expiration.conf; | 107 | include custom.d/web_performance/cache_expiration.conf; |
| 108 | 108 | ||
| 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 | |||
| 109 | include custom.d/http/content_type_maps.conf; | 113 | include custom.d/http/content_type_maps.conf; |
| 110 | 114 | ||
| 111 | # Fix for onion links | 115 | # Fix for onion links |