Skip to content

Commit

Permalink
fix http2 declaration per #8582
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones-plip committed Oct 24, 2023
1 parent 0b907e1 commit 3b40c8f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ http {

server {
listen 80;
http2 on;
location ^~ /.well-known/acme-challenge/ {
default_type "text/plain";
root /etc/nginx/private/certbot;
Expand All @@ -34,8 +35,9 @@ http {
}

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
listen 443 ssl;
listen [::]:443 ssl;
http2 on;

gzip on;
gzip_vary on;
Expand Down

0 comments on commit 3b40c8f

Please sign in to comment.