listen http2 deprecated nginx (updating documentation) (#16831)

More info [here](https://www.nginx.com/blog/nginx-plus-r30-released/).

Nginx threw error's at me when I used all the options of the doc
This commit is contained in:
Arnold 2024-01-22 15:22:16 +01:00 committed by GitHub
parent a68b48a5dd
commit 8459ac9be2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

1
changelog.d/16831.doc Normal file
View file

@ -0,0 +1 @@
NGINX listen http2 deprecation in documentation template for reverse proxy.

View file

@ -58,12 +58,12 @@ reverse proxy is using.
```nginx
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
listen 443 ssl;
listen [::]:443 ssl;
# For the federation port
listen 8448 ssl http2 default_server;
listen [::]:8448 ssl http2 default_server;
listen 8448 ssl default_server;
listen [::]:8448 ssl default_server;
server_name matrix.example.com;