Valentin Lab
38990109f5
new: dev: [apache] support when called out from a relation.
This is to support ``ssh-tunnel`` that will be called from ``init``.
6 years ago
Valentin Lab
2f5aa5254c
new: dev: [apache] allow empty domain to make default site entry.
6 years ago
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
f517f06c86
fix: [apache] ensure the config file directory is empty at init time.
6 years ago
Valentin Lab
de5c44509a
fix: [logrotate] rotation of logs would not happen
This is due to ``alpine`` version that stores the ``logrotate`` status
file in a different place than debian version.
6 years ago
Valentin Lab
bc95e866a3
new: [apache] updated version of apache, added http2.
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
f98351f9f8
new: [apache,cron,letsencrypt,logrotate,odoo,postgres] declare relations
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
df738295c8
new: [logrotate,odoo-tecnativa,apache,cron,letsencrypt] added charm ``logrotate`` and added logrotation to bunch of charms.
6 years ago
Valentin Lab
80554298d1
chg: dev: whitespaces !minor
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
1a928a1f38
chg: test: titled a few tests !minor
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
42a02342c3
new: [apache] added ``proxy_wstunnel`` to enabled mods
6 years ago
Valentin Lab
2882cbf3a7
new: [apache/build] removed obsolete business logic from build.
6 years ago
Valentin Lab
39dd5f9c71
fix: pkg: removed useless double ``metadata.yaml``
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
ac88ac68d7
chg: [apache] move tests to ``sunit``
Using ``sunit`` in ``test/`` directory to test.
6 years ago
Valentin Lab
cace043cbf
fix: [apache] ``X-Forwarded-Proto`` was incorrectly set in http
6 years ago
Valentin Lab
461960e793
chg: dev: [postgres,apache] action are not anymore executed from the charm's root.
With version of ``0k-charm`` >= 0.3.0, actions script are not anymore
executed from charm's root : they stay in current directory.
6 years ago
Valentin Lab
ea0f1f9337
new: [apache/log-rotate] can configure the rotation count from ``compose.yml``.
9 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