Skip to content

Commit

Permalink
Merge pull request #2668 from nextcloud/nginx-h3
Browse files Browse the repository at this point in the history
add http/3 docs to nginx reverse proxy docs
  • Loading branch information
szaimen authored Jun 5, 2023
2 parents 87381bb + 6bbbe68 commit 07faad0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions reverse-proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>;

Expand Down

0 comments on commit 07faad0

Please sign in to comment.