Michael-GMH
ad7bbd6442
merge upstream
преди 4 години
pushytoxin
bee14550ab
Fix local/bin scripts autocompletion by adding rx perms to everyone
It's mildly annoying when trying to execute these scripts while logged
in as a regular user, as the missing execute permissions will hinder
autocompletion even when trying to use with sudo.
These shell scripts don't contain secrets, but may fail when ran by a
regular user. The failure is due to the lack of access to the /matrix
directory, and does not result in any damage.
преди 4 години
Slavi Pantaleev
4880dcceb0
Fix OCSP-stapling-related errors due to missing resolver
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1057
преди 4 години
rakshazi
4ddd8bbb84
Updated nginx-proxy (1.20.0 -> 1.21.0)
преди 4 години
Michael-GMH
6f40d78353
fix random edits to upstream
преди 4 години
Michael-GMH
85777e8f96
merge with upstream
преди 4 години
Slavi Pantaleev
1ed0857019
Fix syntax error
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1024
преди 4 години
sakkiii
4a4a7f136e
changes added to hydrogen client
преди 4 години
sakkiii
3436f9c10a
rename to matrix_nginx_proxy_hsts_preload_enabled
преди 4 години
sakkiii
7cc5328ede
Comments & Ref
преди 4 години
sakkiii
df2d91970d
matrix_nginx_proxy_xss_protection
преди 4 години
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
преди 4 години
Slavi Pantaleev
d0de21ab34
Delete Hydrogen nginx configuration file when disabled
преди 4 години
Aaron Raimist
9437f78c9e
Build using custom config.json, add CSP, update to 0.1.53
преди 4 години
sakkiii
e9b878b9e9
Optimize SSL session
преди 4 години
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.
преди 4 години
Slavi Pantaleev
57a6a98a50
Fix incorrect SSL certificate path
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1057
преди 4 години
sakkiii
d31b55b2a7
SSL-enabled block only
преди 4 години
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)
преди 4 години
sakkiii
2c3da6599b
Added warning
преди 4 години
sakkiii
0dd4459799
matrix_nginx_proxy_ocsp_stapling_enabled variable added
преди 4 години
sakkiii
c05021640d
Enable OCSP Stapling
преди 4 години
Aaron Raimist
ca361af616
Add Hydrogen
преди 4 години
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
преди 4 години
Dan Arnfield
cfaa3e598a
Update nginx (1.19.10 -> 1.20.0)
преди 4 години
sakkiii
40fe6bd5c1
variable matrix_nginx_proxy_hsts_preload_enable added
преди 4 години
Slavi Pantaleev
389dc26615
Fix Synapse generic worker balancing
Potentially fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1022
преди 4 години
sakkiii
0ccf0fbf1c
HSTS preload + X-XSS enables
**HSTS Preloading:**
In its strongest and recommended form, the [HSTS policy](https://www.chromium.org/hsts ) includes all subdomains, and indicates a willingness to be “preloaded” into browsers:
`Strict-Transport-Security: max-age=31536000; includeSubDomains; preload`
**X-Xss-Protection:**
`1; mode=block` which tells the browser to block the response if it detects an attack rather than sanitising the script.
преди 4 години
sakkiii
29bba5161b
Element More security headers
More Production ready nginx headers for Matrix client element.
преди 4 години
Michael-GMH
50d7209c5b
GMH v04.3
преди 4 години
Slavi Pantaleev
d691cc0920
Move variable definition a bit
преди 4 години
Slavi Pantaleev
e00ef04b57
Add opt-out-of-FLoC headers by default
преди 4 години
teutat3s
2bf7c26cfa
Don't expose nginx version with each response
преди 4 години
sakkiii
1958d0792d
Update matrix-client-element.conf.j2
преди 4 години
sakkiii
05042f5ff1
Improve security grafana
- duplicate X-Content-Type-Options
- X-Frame-Options header
- Referrer-Policy [Might consider adding variable]
- Secure flag with cookies
- matrix_grafana_content_security_policy variable for [Content Security Policy](https://grafana.com/docs/grafana/latest/administration/configuration/#content_security_policy )
преди 4 години
sakkiii
5dc642ace1
Nginx element web: XSS protection & nosniff header
X-XSS-Protection: 1; mode=block; header, for basic XSS protection in legacy browsers.
X-Content-Type-Options: nosniff header, to disable MIME sniffing
преди 4 години
Michael-GMH
89cb5a3d7a
GMH v0.4.2 update
преди 4 години
Slavi Pantaleev
c7c137df74
Upgrade nginx and certbot
преди 5 години
Ahmad Haghighi
e335f3fc77
rename matrix_global_registry to matrix_container_global_registry_prefix related to #990
Signed-off-by: Ahmad Haghighi <haghighi@fedoraproject.org>
преди 5 години
Ahmad Haghighi
f52a8b6484
use custom docker registry
преди 5 години
Christoph Johannes Kleine
fcd66b2889
rename variables
преди 5 години
Christoph Johannes Kleine
8ba1105010
rename variable
преди 5 години
Christoph Johannes Kleine
3a772f2f65
matrix-nginx-proxy: add custom nginx options to nginx.conf.j2
преди 5 години
Dan Arnfield
97d8527e00
Update nginx (1.19.6 -> 1.19.8)
преди 5 години
Slavi Pantaleev
06c74728eb
Move matrix_nginx_proxy_proxy_synapse_federation_api_enabled definition to the role
This variable was previously undefined in the role and was only getting
defined via `group_vars/matrix_servers`.
We now properly initialize it (and its good default value) in the role
itself.
преди 5 години
Slavi Pantaleev
9a0222fa47
Add Sygnal support
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/683
преди 5 години
Aaron Raimist
32b3650c12
Set X-Forwarded-Proto on federation requests
преди 5 години
Aaron Raimist
466827139a
Also check if matrix_ssl_lets_encrypt_support_email is blank
преди 5 години
Michael
5a6bdb0c3d
merge upstream
преди 5 години
Alexandros Afentoulis
28c255539c
matrix-nginx-proxy: specify Origin header, comply with CORS
Self-checks against the .well-known URIs look for the HTTP header
"Access-Control-Allow-Origin" indicating that the remode endpoint
supports CORS. But the remote server is not required to include
said header in the response if the HTTP request does not include
the "Origin" header. This is in accordance with the specification
[1] stating: 'A CORS request is an HTTP request that includes an
"Origin" header.'
This is in fact true for Gitlab pages hosting and that's why the
issue was identified.
Let's specify "Origin" header in the respective uri tasks performing
the HTTP request and ensure a CORS request.
[1] https://fetch.spec.whatwg.org/#http-requests
преди 5 години