Skip to content

Commit

Permalink
Fix "listen ... http2" directive is deprecated warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisgoddard authored Jul 22, 2024
1 parent 8080095 commit 8d37a81
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions nginx-config/sites-available/bubbly_live.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ server {
#### HTTPS Redirection Block
# Redirect https://www.example.com to https://example.com
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
listen 443 ssl;
listen [::]:443 ssl;
http2 on;


#### Core Configuration
Expand Down Expand Up @@ -64,8 +65,9 @@ server {

#### Main HTTPS Block
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
listen 443 ssl;
listen [::]:443 ssl;
http2 on;


#### Core Configuration
Expand Down

0 comments on commit 8d37a81

Please sign in to comment.