Valentin Lab
1ff27a6578
fix: [apache/publish-dir] support custom ``$DATASTORE``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
a55c69b67c
new: [apache] repaired ``publish-dir`` relation.
6 years ago
Valentin Lab
c2e03dec03
fix: [apache] proxy rewrites response header only if needed
Previously, we had issues (for instance with nextcloud) with the 'Location'
header using the custom scheme "nc://" being rewritten by "ProxyPassReverse /".
This newer stance avoids rewriting this scheme, and continue to work correctly.
5 years ago
Valentin Lab
f5251cef62
new: [apache] added ``apache-proxy-path-options`` to allow adding custom options to ``ProxyPass`` line.
6 years ago
Valentin Lab
9b63ac2e62
chg: dev: [apache] remove a warning !minor
6 years ago
Valentin Lab
b9bfa7ab8b
chg: dev: [apache] refactor out ``yaml_get_values``.
6 years ago
Valentin Lab
a444d16bd6
new: dev: [apache] store a ``url`` argument instead of a ``protocol`` argument.
6 years ago
Valentin Lab
2b3a9025e0
fix: dev: [apache] fix merging error when no configuration is provided in relation.
6 years ago
Valentin Lab
1366b29460
fix: dev: [apache] a little more solid ``apache-custom-rules`` reading.
6 years ago
Valentin Lab
6ac5bf3656
fix: [letsencrypt] use action ``crt {renew,create}`` to manage properly renewal.
6 years ago
Valentin Lab
94f79386ac
new: [apache] allow to set ``core-rules`` in main service ``options``.
6 years ago
Valentin Lab
09dd757c64
fix: [apache] remove default website.
6 years ago
Valentin Lab
b17b4db0c7
new: dev: [apache] use only ``init-config-add``.
6 years ago
Valentin Lab
b27b0f53cb
new: [apache] support of ``ssh-tunnel`` option in core options.
6 years ago
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