Skip to content

Commit

Permalink
Update http2 directive to new format
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad committed May 27, 2024
1 parent 2529a1a commit b8953f0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions root/defaults/nginx/site-confs/default.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ server {
listen 80 default_server;
listen [::]:80 default_server;

listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
listen 443 ssl default_server;
listen [::]:443 ssl default_server;

http2 on;

server_name _;

Expand Down

0 comments on commit b8953f0

Please sign in to comment.