Add http2 to the nginx example config (#9390)
parent
43f1c82457
commit
bb2577f6b7
|
@ -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…
Reference in New Issue