Skip to content

Commit

Permalink
Update nginx config files to replace 'http3' with 'quic' in listen di…
Browse files Browse the repository at this point in the history
…rective

Due to a change in the nginx repository, the 'http3' parameter of the 'listen'
directive has been deprecated.
  • Loading branch information
route443 committed May 22, 2023
1 parent 11cfc36 commit 3fabb85
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ http {
server {
server_name localhost;
listen *:443 ssl;
listen *:443 http3 reuseport;
listen *:443 quic reuseport;
listen [::]:443 ssl;
listen [::]:443 http3 reuseport;
listen [::]:443 quic reuseport;

http3_hq on;

Expand Down
4 changes: 2 additions & 2 deletions nginx.conf.http3
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ http {
server {
server_name localhost;
listen *:443 ssl;
listen *:443 http3 reuseport;
listen *:443 quic reuseport;
listen [::]:443 ssl;
listen [::]:443 http3 reuseport;
listen [::]:443 quic reuseport;
add_header Alt-Svc 'h3-29=":443"';
location / {
root /www;
Expand Down
4 changes: 2 additions & 2 deletions nginx.conf.nodebug
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ http {
server {
server_name localhost;
listen *:443 ssl;
listen *:443 http3 reuseport;
listen *:443 quic reuseport;
listen [::]:443 ssl;
listen [::]:443 http3 reuseport;
listen [::]:443 quic reuseport;

http3_hq on;

Expand Down
4 changes: 2 additions & 2 deletions nginx.conf.retry
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ http {
server {
server_name localhost;
listen *:443 ssl;
listen *:443 http3 reuseport;
listen *:443 quic reuseport;
listen [::]:443 ssl;
listen [::]:443 http3 reuseport;
listen [::]:443 quic reuseport;

http3_hq on;

Expand Down

0 comments on commit 3fabb85

Please sign in to comment.