diff --git a/proxy/files/entrypoint.sh b/proxy/files/entrypoint.sh index 5c518b0..0cbc6e8 100644 --- a/proxy/files/entrypoint.sh +++ b/proxy/files/entrypoint.sh @@ -126,7 +126,7 @@ function read_file() function rng() { - rng_n=$(od -An -N2 -i < /dev/urandom) + rng_n=$(od -An -N2 -d < /dev/urandom) echo $rng_n } diff --git a/proxy/files/nginx.conf b/proxy/files/nginx.conf index d595866..5013a92 100644 --- a/proxy/files/nginx.conf +++ b/proxy/files/nginx.conf @@ -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;