15 lines
503 B
Plaintext
15 lines
503 B
Plaintext
# NGINX general configuration for Docker services.
|
|
|
|
# Doesn't explore unnecessary info.
|
|
server_tokens off;
|
|
# Depends on ngx_http_security_headers_module.so
|
|
#hide_server_tokens on;
|
|
|
|
# https://amalgjose.com/2020/05/15/how-to-set-the-allowed-url-length-for-a-nginx-request-error-code-414-uri-too-large/
|
|
large_client_header_buffers 4 32k;
|
|
|
|
# https://serverfault.com/questions/602201/nginx-possible-bug-with-dashes-in-server-name
|
|
# https://trac.nginx.org/nginx/ticket/571
|
|
#server_names_hash_bucket_size 64;
|
|
|