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
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
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
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
df9ec0f849
fix: [gitea,apache] correctly set ``https`` clone url when using ``https``.
6 years ago
Valentin Lab
d1a0f5b39e
new: [apache] automatic redirection from ``http`` to ``https``.
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
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
1a928a1f38
chg: test: titled a few tests !minor
6 years ago
Valentin Lab
f5a2d60791
new: [letsencrypt] not anymore a daemon.
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
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
ac88ac68d7
chg: [apache] move tests to ``sunit``
Using ``sunit`` in ``test/`` directory to test.
7 years ago
Valentin Lab
cace043cbf
fix: [apache] ``X-Forwarded-Proto`` was incorrectly set in http
7 years ago
Valentin Lab
d975017fbd
new: [apache] update to latests files from formanoo-charms.
9 years ago