Merge pull request #2668 from nextcloud/nginx-h3

add http/3 docs to nginx reverse proxy docs
This commit is contained in:
Simon L 2023-06-05 10:50:59 +02:00 committed by GitHub
commit 07faad0ab2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -274,6 +274,11 @@ server {
listen 443 ssl http2;
listen [::]:443 ssl http2; # comment to disable IPv6
# http3 on; # uncomment to enable HTTP/3 / QUIC - supported on nginx v1.25.0+
# listen 443 quic; # uncomment to enable HTTP/3 / QUIC - supported on nginx v1.25.0+
# listen [::]:443 quic; # uncomment to enable HTTP/3 / QUIC - supported on nginx v1.25.0+
# add_header alt-svc 'h3=":443"; ma=86400, h3-29=":443"; ma=86400'; # uncomment to enable HTTP3/QUIC - supported on nginx v1.25.0+
server_name <your-nc-domain>;