Adding in ability to disable server_tokens, defaulting to on (previous behaviour)

pull/82/head
Russell Clare 7 years ago
parent fa5b412daf
commit 2fffc382a4
No known key found for this signature in database
GPG Key ID: 98625EAEFB8694A7
  1. 2
      defaults/main.yml
  2. 1
      templates/nginx.conf.j2

@ -26,6 +26,8 @@ nginx_tcp_nodelay: "on"
nginx_keepalive_timeout: "65"
nginx_keepalive_requests: "100"
nginx_server_tokens: "on"
nginx_client_max_body_size: "64m"
nginx_server_names_hash_bucket_size: "64"

@ -35,6 +35,7 @@ http {
keepalive_timeout {{ nginx_keepalive_timeout }};
keepalive_requests {{ nginx_keepalive_requests }};
server_tokens {{ nginx_server_tokens }};
#gzip on;
{% if nginx_proxy_cache_path %}