From 6b78680875d9e721d46e4f3d34047c6a3fbd2f33 Mon Sep 17 00:00:00 2001
From: DMRobertson
NOTE: You only need one of these.
server {
+server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
@@ -301,7 +301,7 @@ matrix.example.com {
}
Apache
-<VirtualHost *:443>
+<VirtualHost *:443>
SSLEngine on
ServerName matrix.example.com
@@ -326,7 +326,7 @@ matrix.example.com {
NOTE: ensure the nocanon
options are included.
NOTE 2: It appears that Synapse is currently incompatible with the ModSecurity module for Apache (mod_security2
). If you need it enabled for other services on your web server, you can disable it for Synapse's two VirtualHosts by including the following lines before each of the two </VirtualHost>
above:
-<IfModule security2_module>
+<IfModule security2_module>
SecRuleEngine off
</IfModule>
--
cgit 1.5.1