mirror of
https://github.com/element-hq/synapse.git
synced 2025-01-20 18:42:33 +00:00
Add http2 to the nginx example config (#9390)
This commit is contained in:
parent
43f1c82457
commit
bb2577f6b7
2 changed files with 5 additions and 4 deletions
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 {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl http2;
|
||||||
listen [::]:443 ssl;
|
listen [::]:443 ssl http2;
|
||||||
|
|
||||||
# For the federation port
|
# For the federation port
|
||||||
listen 8448 ssl default_server;
|
listen 8448 ssl http2 default_server;
|
||||||
listen [::]:8448 ssl default_server;
|
listen [::]:8448 ssl http2 default_server;
|
||||||
|
|
||||||
server_name matrix.example.com;
|
server_name matrix.example.com;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue