Remove overlapping Listen directives on apache >= 2.4
As mentioned on the apache docs[0] having 2 overlapping listen directories will cause the apache server to fail with a fatal error. The seems like it was ignored on earlier versions so we can use the version module to change it based on the current apache version as to not affect existing deployments [0] https://httpd.apache.org/docs/2.4/es/bind.html Change-Id: I8ce260e020375e93befa5e2e6df22eca0eaf9d07
This commit is contained in:
parent
3baeefdd37
commit
2ec91c4c3f
@ -59,8 +59,9 @@ network:
|
||||
conf:
|
||||
horizon:
|
||||
apache: |
|
||||
<IfVersion < 2.4>
|
||||
Listen 0.0.0.0:{{ tuple "dashboard" "internal" "web" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||
|
||||
</IfVersion>
|
||||
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
|
||||
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user