Julian-Samuel Gebühr
4d40b61a51
Fix config error, add nginx
2 years ago
Julian-Samuel Gebühr
eb25d54246
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy into node_postgres_reverse_proxy
2 years ago
Slavi Pantaleev
1727ecd888
Make yamllint happy (take 2)
...
> Error: 19:3 error wrong indentation: expected 4 but found 2 (indentation)
2 years ago
Slavi Pantaleev
9aab7f9c37
Make yamllint happy
...
Fixup for ba51997f7b
2 years ago
Slavi Pantaleev
ba51997f7b
(BC Break) Redo how metrics are exposed to external Prometheus servers
2 years ago
Slavi Pantaleev
a3a6e14f7b
Add matrix_nginx_proxy_proxy_synapse_metrics_addr_{with,sans}_container variables to defaults
...
We redefine these variables in `group_vars/matrix_servers`, but it's better
to have some defaults in the role as well.
2 years ago
Slavi Pantaleev
f4cf7b9cc1
Remove unused variable (matrix_nginx_proxy_synapse_workers_enabled_list) definition
2 years ago
Slavi Pantaleev
f943e82384
Upgrade Certbot (1.27 -> 1.28)
2 years ago
Julian-Samuel Gebühr
f57aed8e01
Add a setting to make nginx forward node_exporter and postgres_exporter
2 years ago
Slavi Pantaleev
271a8d0a73
Upgrade certbot (v1.23.0 -> v1.27.0)
3 years ago
Slavi Pantaleev
49da9c76ac
Merge pull request #1782 from etkecc/matrix-bot-buscarron
...
add matrix-bot-buscarron
3 years ago
Slavi Pantaleev
4a0b839768
Automatically do the right thing with regards to Synapse Metrics htpasswd
...
.. regardless of whether matrix-nginx-proxy runs in a container or not
3 years ago
Aine
290754371a
add matrix-bot-buscarron
3 years ago
Andrea Tartaglia
68424e68e5
feat: make synapse htpasswd file path configurable
...
When setting `matrix_nginx_proxy_enabled: false` and enabling authentication on the metrics endpoint, the htpasswd file is hardcoded to the nginx-proxy container dir, this changes the hardcoded value to a variable so the path can be updated
3 years ago
borisrunakov
acaebfbf67
optional media cache with range requests support ( #1759 )
3 years ago
Slavi Pantaleev
0364c6c634
Suppress old container cleanup (kill/rm) failures
...
People often report and ask about these "failures".
More-so previously, when the `docker kill/rm` output was collected,
but it still happens now when people do `systemctl status
matrix-something` and notice that it says "FAILURE".
Suppressing to avoid further time being wasted on saying "this is
expected".
3 years ago
Yan Minagawa
b982733a8a
fix typo in document path for the proxy
3 years ago
Slavi Pantaleev
0d6c0f5df2
Merge pull request #1705 from HarHarLinks/master
...
Fix index in external_prometheus.yml.example.j2
3 years ago
Kim Brose
5ed23e81ef
Fix index in external_prometheus.yml.example.j2
...
For an unknown reason prometheus ignored the given "numeric" index and replaced it by 1. This made it not work properly, plus multiple workers of same types were not differentiable. With a "string" index, it works as intended.
3 years ago
Aine
2da3768b20
Added retries to the docker pulls ( #1701 )
3 years ago
Alejo Diaz
4ec24ec344
Add support for obtain ECDSA keys ( #1667 )
...
* Add support for obtain ECDSA keys
* Replace matrix_ssl_lets_encrypt_use_ecdsa_keys for matrix_ssl_lets_encrypt_key_type
3 years ago
GoliathLabs
e53cc026d0
Updated: certbot to v1.23.0
3 years ago
Marko Weltzer
819574b8ba
Merge branch 'spantaleev:master' into master
3 years ago
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
3 years ago
Slavi Pantaleev
86c36523df
Replace ExecStopPost with ExecStop
...
Reverts b1b4ba501f
, 90c9801c56
, a3c84f78ca
, ..
I haven't really traced it (yet), but on some servers, I'm observing
`ansible-playbook ... --tags=start` completing very slowly, waiting
to stop services. I can't reproduce this on all Matrix servers I manage.
I suspect that either the systemd version is to blame or that some
specific service is not responding well to some `docker kill/rm` command.
`ExecStop` seems to work great in all cases and it's what we've been
using for a very long time, so I'm reverting to that.
3 years ago
GoliathLabs
33851f1dfa
Updated: nginx to 1.21.6-alpine
3 years ago
Wm Salt Hale
3aa8c1f62c
only enable openssl if necessary
3 years ago
GoliathLabs
b608c3d342
Updated: worker_processes to auto
3 years ago
GoliathLabs
8a66db850e
Updated: Certbot to v1.22.0
3 years ago
Slavi Pantaleev
29bc22a085
Add matrix_nginx_proxy_container_additional_networks
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1498
3 years ago
Slavi Pantaleev
27a4871aea
Fix variable name typo
3 years ago
Slavi Pantaleev
3b9d5b13e9
Add support for not serving Dendrite federation APIs on the client port
...
Seems like Dendrite encourages serving both the Client and Federation
API at the same port.
Coming from Synapse and how things are done there, we have separate
ports. Using separate ports probably makes matrix-corporal (etc.)
integration easier, so separating the APIs by default probably makes
sense.
3 years ago
Slavi Pantaleev
ecc237bbad
Initial work on getting nginx reverse proxying working with Dendrite
3 years ago
rakshazi
5788a16a2e
added matrix-client-cinny
3 years ago
Slavi Pantaleev
b1b4ba501f
Replace ExecStop with ExecStopPost
...
ExecStopPost should allow us to clean up (docker kill + docker rm)
even if the ExecStart (docker run ..) command failed, and not just after
a graceful service stop was initiated.
Source: https://www.freedesktop.org/software/systemd/man/systemd.service.html#ExecStopPost=
3 years ago
Slavi Pantaleev
8515ac55e6
Upgrade nginx (1.21.4 -> 1.21.5)
3 years ago
Slavi Pantaleev
948c411106
Remove sudo requirement for generating SSL certificates
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1492
3 years ago
Slavi Pantaleev
afd7f03bb5
Minor comment changes
3 years ago
Slavi Pantaleev
fa704f104b
Add support for using custom ACME CA servers (other than Let's Encrypt')
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1468
3 years ago
Slavi Pantaleev
3a9fe48deb
Make matrix-nginx-proxy's X-Forwarded-For header customizable
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1393
3 years ago
Slavi Pantaleev
3b27ce2ff6
Merge pull request #1404 from aaronraimist/v3
...
Allow workers to serve new v3 APIs
3 years ago
Aaron Raimist
f8fe68b385
Allow workers to serve new v3 APIs
...
1f196f59cb
3 years ago
Slavi Pantaleev
b4fb819481
Merge pull request #1403 from borisrunakov/rename-matrix-ma1sd-default-port
...
remove default from variable name
3 years ago
boris runakov
394ecb0acc
remove default from variable name
3 years ago
boris runakov
d3a9ec98de
refactoring
3 years ago
boris runakov
1ec67f49b0
replaced 8008 where possible
3 years ago
Slavi Pantaleev
994c0e504c
Ensure some matrix-nginx-proxy variables are defined
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1397
3 years ago
b
07496069c8
rellocating variables for consistency
3 years ago
b
7756cc4c8e
replace port 8048 with matrix_synapse_container_default_federation_port
3 years ago
JokerGermany
c0656448f7
Port 80 for IPv6
3 years ago