Valentin Lab
feb6aa4486
chg: dev: [apache] pass around as argument ``$domain``
This will make the code faster, and will allow to have no domain in the
near future.
6 years ago
Valentin Lab
e697458f98
new: dev: [apache] full test of ``ssl_get_plugin_fun`` function
6 years ago
Valentin Lab
17f2384ac1
new: dev: [apache] protocol recognition support 'false' or 'null' values.
6 years ago
Valentin Lab
06ac2b2e7f
fix: dev: [apache] fix some disturbing code that should not have had any consequence
6 years ago
Valentin Lab
46a96635a5
chg: dev: [apache] caching some function in library
6 years ago
Valentin Lab
3bf728e895
chg: dev: [apache] rewrite internal library to avoid global vars.
6 years ago
Valentin Lab
a3a4b85558
fix: [apache] docker pull output would get added to apache config file content
6 years ago
Valentin Lab
df9ec0f849
fix: [gitea,apache] correctly set ``https`` clone url when using ``https``.
6 years ago
Valentin Lab
b4b6b36e64
new: [peertube,redis] new charms.
6 years ago
Valentin Lab
581eed1b87
new: [apache] complain if no first exposed port was found
6 years ago
Valentin Lab
d1a0f5b39e
new: [apache] automatic redirection from ``http`` to ``https``.
6 years ago
Valentin Lab
cd58111a91
new: [apache] custom rules support now sequences and struct to allow appending values.
6 years ago
Valentin Lab
3bfcbc2049
fix: [apache] better catching errors while making apache config files.
6 years ago
Valentin Lab
73ff38dbce
new: [apache] default value for ``ssl``, is first cert-provider if any.
6 years ago
Valentin Lab
cee40ae5b4
new: [apache] default value for domain name is service name if this one is a domain name.
6 years ago
Valentin Lab
67d317d815
new: [apache] target port could end up empty if service image was not yet pulled
We decide to pull the image here, as we are garanteed that if it had to
be built, it was built.
6 years ago
Valentin Lab
fb75d3cf42
fix: [www] using server-aliases with letsencrypt would trigger an error about "empty label".
Asking ``-y`` to shyaml would include rogue ``...`` in the output.
6 years ago
Valentin Lab
7892a25823
fix: [apache] avoid leaking stopped container when launching letsencrypt creation.
6 years ago
Valentin Lab
701f249903
new: [letsencrypt] stop any project docker that blocks port 80 when using ``http`` challenge type.
Without this, letsencrypt standalone server can't be accessed from outside,
and the challenge will fail.
6 years ago
Valentin Lab
54909e5761
chg: dev: remove trailing whitespace !minor
6 years ago
Valentin Lab
f5a2d60791
new: [letsencrypt] not anymore a daemon.
6 years ago
Valentin Lab
c7cad96943
fix: [apache] detect changes of embedded cert files to force restart
6 years ago
Valentin Lab
e8c9f70004
new: [apache] will detect efficiently changes and elegantly reload on configuration files modification.
6 years ago
Valentin Lab
7f3e15f2af
chg: [apache] custom rules are now before the content so as to add proxy rules if necessary
6 years ago
Valentin Lab
f35431f5c3
fix: [apache] providing ssl direct info was not migrated to v2.0 of docker-compose format
6 years ago
Valentin Lab
f05862af87
new: ``charm`` and ``service`` are now clear distinct concept
6 years ago
Valentin Lab
ca3106c820
new: [apache] ssl plugin support, added letsencrypt ssl support.
6 years ago
Valentin Lab
255bbdb466
fix: [apache] bail out as soon as posisble on failures
6 years ago
Valentin Lab
cace043cbf
fix: [apache] ``X-Forwarded-Proto`` was incorrectly set in http
6 years ago
Valentin Lab
d975017fbd
new: [apache] update to latests files from formanoo-charms.
9 years ago
Valentin Lab
e5fe18ca43
new: [www] renamed ``www`` to ``apache``.
The general idea is that a service "www" could be implemented
by various implementation ("lighthttpd" for instance). So we
need to prefer the name of the actual service and not of the
type of service it is offering.
9 years ago