Skip to content
Snippets Groups Projects
Unverified Commit bb2577f6 authored by David Vo's avatar David Vo Committed by GitHub
Browse files

Add http2 to the nginx example config (#9390)

parent 43f1c824
No related branches found
No related tags found
No related merge requests found
Add HTTP/2 support to the nginx example configuration. Contributed by David Vo.
...@@ -40,12 +40,12 @@ the reverse proxy and the homeserver. ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment