Merge: nixos/nginx: fix type of mapHashBucketSize (#413269)

authored by Maximilian Bosch and committed by GitHub 30a7b0a6 cf5377c6

+4 -7
+4 -7
nixos/modules/services/web-servers/nginx/default.nix
··· 1002 1002 }; 1003 1003 1004 1004 mapHashBucketSize = mkOption { 1005 - type = types.nullOr ( 1006 - types.enum [ 1007 - 32 1008 - 64 1009 - 128 1010 - ] 1011 - ); 1005 + type = types.nullOr (types.ints.positive); 1012 1006 default = null; 1013 1007 description = '' 1014 1008 Sets the bucket size for the map variables hash tables. Default 1015 1009 value depends on the processor’s cache line size. 1010 + 1011 + Refer to [the nginx docs on hashes](https://nginx.org/en/docs/hash.html) 1012 + for more information. 1016 1013 ''; 1017 1014 }; 1018 1015