roles/apache: Support setting ServerTokens
The `apache_server_tokens` variable can now be set, which controls the value of the `ServerTokens` directive. If the variable is set, the `ServerTokens` directive will be added to the `00-servername.conf` file.jenkins-master
parent
10d6b52460
commit
a02ddbb53f
|
@ -10,3 +10,7 @@ ServerName {{ apache_server_name }}
|
||||||
{% else %}
|
{% else %}
|
||||||
#ServerName www.example.com:80
|
#ServerName www.example.com:80
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if apache_server_tokens is defined %}
|
||||||
|
|
||||||
|
ServerTokens {{ apache_server_tokens }}
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue