Initial commit - forked from the corresponding Smartfront repositories.
This commit is contained in:
14
.templates/nginx/.nginx/_general.conf
Normal file
14
.templates/nginx/.nginx/_general.conf
Normal file
@ -0,0 +1,14 @@
|
||||
# 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;
|
||||
|
Reference in New Issue
Block a user