Skip to content
Snippets Groups Projects
Commit 331a6320 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-roles/apache#6 Define default value for Apache version

parent f977312d
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@
SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded
LogLevel warn
{% if apache_version == '2.4' %}
{% if apache_version|default('2.4') == '2.4' %}
ErrorLogFormat "[%{u}t] [%l] [pid %P] [client\ %{X-Forwarded-For}i] %M% ,\ referer:\ %{Referer}i"
{% endif %}
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment