diff options
author | Sumner Evans <me@sumnerevans.com> | 2021-11-01 05:35:55 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-01 11:35:55 +0000 |
commit | ece84f2c450d986e54acc80971225fb02f4e1d05 (patch) | |
tree | e107d9590f3ed5965a6756cc9eb599058ecb0905 /docs/reverse_proxy.md | |
parent | Add metrics to the threadpools (#11178) (diff) | |
download | synapse-ece84f2c450d986e54acc80971225fb02f4e1d05.tar.xz |
Improve code formatting and fix a few typos in docs (#11221)
* Labeled a lot more code blocks with the appropriate type * Fixed a couple of minor typos (missing/extraneous commas) Signed-off-by: Sumner Evans <me@sumnerevans.com>
Diffstat (limited to 'docs/reverse_proxy.md')
-rw-r--r-- | docs/reverse_proxy.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/reverse_proxy.md b/docs/reverse_proxy.md index bc351d604e..9f18fa1818 100644 --- a/docs/reverse_proxy.md +++ b/docs/reverse_proxy.md @@ -52,7 +52,7 @@ to proxied traffic.) ### nginx -``` +```nginx server { listen 443 ssl http2; listen [::]:443 ssl http2; @@ -141,7 +141,7 @@ matrix.example.com { ### Apache -``` +```apache <VirtualHost *:443> SSLEngine on ServerName matrix.example.com @@ -170,7 +170,7 @@ matrix.example.com { **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: -``` +```apache <IfModule security2_module> SecRuleEngine off </IfModule> |