[fix] rng() now outputs positive int and increased nginx name bucket

- [fix] changed od flag from -i to -d to generate unsigned numbers
 - the param -i can create negative numbers in dash
 - [fix] increased server_names_hash_bucket_size to 64
 - to accommodate for large domain names with (many) subdomains
This commit is contained in:
2020-05-27 16:30:10 -04:00
parent f3d17e931a
commit a3f5fc413f
2 changed files with 4 additions and 2 deletions

View File

@@ -15,7 +15,9 @@ http {
scgi_temp_path /tmp/scgi_temp;
client_max_body_size 1m;
# set larger name bucket for large domain names
server_names_hash_bucket_size 64;
server {
listen 8080 default_server;