installation/nginx: allow incoming http2 connections

This commit is contained in:
Oneric 2025-08-19 00:00:00 +00:00
parent c94d01a0ab
commit 7a49dd6c59

View file

@ -37,6 +37,9 @@ server {
listen 80;
listen [::]:80;
# for nginx versions < 1.25.1, you need to use a listen paramter instead
http2 on;
# If you are not using Certbot, comment out the above and uncomment/edit the following
# listen 443 ssl http2;
# listen [::]:443 ssl http2;
@ -91,6 +94,9 @@ server {
listen 80;
listen [::]:80;
# for nginx versions < 1.25.1, you need to use a listen paramter instead
http2 on;
# If you are not using certbot, comment the above and copy all the ssl
# stuff from above into here.