mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Add http2 to the nginx example config (#9390)
This commit is contained in:
parent
43f1c82457
commit
bb2577f6b7
1
changelog.d/9390.doc
Normal file
1
changelog.d/9390.doc
Normal file
@ -0,0 +1 @@
|
||||
Add HTTP/2 support to the nginx example configuration. Contributed by David Vo.
|
@ -40,12 +40,12 @@ the reverse proxy and the homeserver.
|
||||
|
||||
```
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
# For the federation port
|
||||
listen 8448 ssl default_server;
|
||||
listen [::]:8448 ssl default_server;
|
||||
listen 8448 ssl http2 default_server;
|
||||
listen [::]:8448 ssl http2 default_server;
|
||||
|
||||
server_name matrix.example.com;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user