Valentin Lab
6022af05f9
new: [apache,cyclos,mongo,piwigo] replace ``service_base_docker_image`` with ``service_ensure_image_ready`` for compatibility with compose ``1.7.1``
10 months ago
Valentin Lab
6e5e954970
new: [apache] improve domain specification and provide service to domain mapping facility
11 months ago
Valentin Lab
5037789dc6
fix: [apache] support of new rust implementation of ``shyaml``
11 months ago
Valentin Lab
341984aee7
fix: dev: [apache] repair tests
11 months ago
Valentin Lab
cc036b94d9
new: [apache] don't force ``X-Forwarded-Proto`` if already existent
1 year ago
Valentin Lab
e314e9bfaf
new: [apache] re-introduced setting ownership for data dirs
This was removed for macosx compatibility reasons. Did not have the
chance to test this, but hopefully, ``chown`` an ``chmod`` might have
better chances of being compatible that previous ``setacl``.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
8ca68aadc9
fix: [apache] convert config store directory to host path also.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
5e91f44ce7
fix: [apache/publish-dir] avoid touching permission to aim at macosx support
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
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
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
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