installation/nginx: allow incoming http2 connections
This commit is contained in:
parent
c94d01a0ab
commit
7a49dd6c59
1 changed files with 6 additions and 0 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue