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".
před 3 roky
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.
před 4 roky
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
před 4 roky
Slavi Pantaleev
86c36523df
Replace ExecStopPost with ExecStop
Reverts b1b4ba501fdfaa, 90c9801c560b6, a3c84f78ca9c65a, ..
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.
před 4 roky
Slavi Pantaleev
29bc22a085
Add matrix_nginx_proxy_container_additional_networks
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1498
před 4 roky
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.
před 4 roky
Slavi Pantaleev
ecc237bbad
Initial work on getting nginx reverse proxying working with Dendrite
před 4 roky
rakshazi
5788a16a2e
added matrix-client-cinny
před 4 roky
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=
před 4 roky
Slavi Pantaleev
3a9fe48deb
Make matrix-nginx-proxy's X-Forwarded-For header customizable
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1393
před 4 roky
Aaron Raimist
f8fe68b385
Allow workers to serve new v3 APIs
1f196f59cb
před 4 roky
JokerGermany
c0656448f7
Port 80 for IPv6
před 4 roky
b
6eaa8ac65a
add server_name to matrix-synapsel.conf only if matrix_nginx_proxy_enabled
před 4 roky
Kim Brose
5f6bbafa17
fix space before tab in indent
před 4 roky
HarHarLinks
7b33fc8e19
fixup! auto-generate prometheus.yml for workers metrics
před 4 roky
HarHarLinks
ce41674e61
auto-generate prometheus.yml for workers metrics
před 4 roky
HarHarLinks
4209c4208c
add own variable for worker metrics
https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1311#issuecomment-945718866
před 4 roky
HarHarLinks
d9fa2f7ed4
add auto proxy synapse worker metrics
when matrix_nginx_proxy_proxy_synapse_metrics is enabled
před 4 roky
Aaron Raimist
a676b5358c
Fix hydrogen OCSP typo
From 6f80292745
před 4 roky
Colin Shea
2578ca4cee
rename matrix_nginx_proxy_x_forwarded_header_value -> matrix_nginx_proxy_x_forwarded_proto_value
před 4 roky
Colin Shea
d0cd67044e
replace $scheme with X-Forwarded-Proto when enabled
před 4 roky
sakkiii
ae6caf158a
Added variable matrix_nginx_proxy_request_timeout ( #1265 )
* add timeout param for nginx proxy
default value matrix_nginx_proxy_request_timeout is 60s
* default matrix_nginx_proxy_request_timeout - 60s
* few more variables for request timeout
* Update nginx.conf.j2
* Update nginx.conf.j2
před 4 roky
Michael Collins
98e6cd685d
sync with previous repo
před 4 roky
Michael Collins
2e30802b87
use group variables instead
před 4 roky
Michael Collins
8238d65e5f
simplify template conditional
před 4 roky
Michael Collins
bfb61e776e
GMH v0.5.7... maybe!
před 4 roky
JokerGermany
9345d840be
root path for the base domain is wrong ( #1189 )
* root path for the base domain
* Fix path when running in a container
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
před 4 roky
Michael-GMH
86e4649578
GoMatrixHosting v0.5.5
před 4 roky
Michael-GMH
03006eb5ab
GoMatrixHosting v0.5.5
před 4 roky
Slavi Pantaleev
6294e58304
Fix Content-Security-Policy for Element
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1154
According to
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy ,
having both a header and the `<meta>`-tag provided by Element itself is
not a problem. The 2 CSP policies get combined.
před 4 roky
oxmie
5df4d68829
Make federation domain customizable
před 4 roky
sakkiii
0217644b48
Content-Security-Policy For Element Web
https://github.com/vector-im/element-web#configuration-best-practices
před 4 roky
Michael-GMH
ad7bbd6442
merge upstream
před 4 roky
Slavi Pantaleev
4880dcceb0
Fix OCSP-stapling-related errors due to missing resolver
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1057
před 4 roky
Michael-GMH
6f40d78353
fix random edits to upstream
před 4 roky
Michael-GMH
85777e8f96
merge with upstream
před 4 roky
Slavi Pantaleev
1ed0857019
Fix syntax error
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1024
před 4 roky
sakkiii
4a4a7f136e
changes added to hydrogen client
před 4 roky
sakkiii
3436f9c10a
rename to matrix_nginx_proxy_hsts_preload_enabled
před 4 roky
sakkiii
df2d91970d
matrix_nginx_proxy_xss_protection
před 4 roky
Slavi Pantaleev
6f80292745
Add OCSP stapling support and other SSL optimizations to Hydrogen vhost
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1061
and https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1057
před 4 roky
Aaron Raimist
9437f78c9e
Build using custom config.json, add CSP, update to 0.1.53
před 4 roky
sakkiii
e9b878b9e9
Optimize SSL session
před 4 roky
Slavi Pantaleev
e6afa05f7b
Enable OCSP stapling for the federation port
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1057
Not sure if this is beneficial though.
před 4 roky
Slavi Pantaleev
57a6a98a50
Fix incorrect SSL certificate path
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1057
před 4 roky
sakkiii
d31b55b2a7
SSL-enabled block only
před 4 roky
Slavi Pantaleev
e4dd933cf0
Make missing /_synapse/admin correctly return 404 responses
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1058
We may try to capture such calls and return a friendlier response (HTML
or JSON) saying "The Synapse Admin API is not enabled", but that may not
be desirable.
For now, we stick to what "upstream" recommends: "simply
don't proxy these APIs", which should lead to the same kind of 404 that
we have now.
See here: 6660912226/docs/reverse_proxy.md (synapse-administration-endpoints)
před 4 roky
sakkiii
c05021640d
Enable OCSP Stapling
před 4 roky
Aaron Raimist
ca361af616
Add Hydrogen
před 4 roky
Béla Becker
b10655ebb1
Jitsi XMPP Websocket support
Jitsi-meet enabled websockets by default, claiming better reliability.
Matrix-nginx-proxy configuration has been set up according to the
Prosody documentation: https://prosody.im/doc/websocket
před 4 roky