-
Committer:
Landscape Builder
-
Author(s):
Danilo Šegan
-
Date:
2016-10-31 15:16:27 UTC
-
mfrom:
(370.3.14 pppa-proxy-haproxy-rules)
-
Revision ID:
landscape_builder-20161031151627-2bj03ju3qxx283t9
Merge pppa-proxy-haproxy-rules [f=1625373] [r=tribaal,landscape-builder,free.ekanayaka] [a=Данило Шеган]
Introduce haproxy rules to expose pppa-proxy with charmed Landscape
Since "option httpchk" is applied globally, and pppa-proxy requires authentication even on "HEAD /" HTTP request, that has been commented out for the time being.
If root-url is set on the landscape-server charm, we expose the service using "archive.<root-hostname>" domain name, and if it's not defined, we expose it using a relative path "/archive".
We are not doing anything special for SSL certificates to cover both domains, which might be needed, but could be solved with either wildcard or altSubjectName certs as well.