mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-20 11:00:23 +01:00
Hide the server signature
This is a more secure default setting.
This commit is contained in:
parent
88d910923c
commit
cd24e347c2
1 changed files with 6 additions and 0 deletions
|
@ -26,6 +26,9 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</Directory>
|
</Directory>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
ServerSignature Off
|
||||||
|
|
||||||
{% if vhost.extra_parameters is defined %}
|
{% if vhost.extra_parameters is defined %}
|
||||||
{{ vhost.extra_parameters }}
|
{{ vhost.extra_parameters }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -73,6 +76,9 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</Directory>
|
</Directory>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
ServerSignature Off
|
||||||
|
|
||||||
{% if vhost.extra_parameters is defined %}
|
{% if vhost.extra_parameters is defined %}
|
||||||
{{ vhost.extra_parameters }}
|
{{ vhost.extra_parameters }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue