-
-
Notifications
You must be signed in to change notification settings - Fork 593
Add HTTP/3 support
#1531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add HTTP/3 support
#1531
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
990cb95
Add adjustments for HTTP3 support.
strarsis f48d346
Use ferm `delete` attribute for toggling HTTP3 firewall allow rule.
strarsis b494871
Remove old variable from previous PR/ferm toggling.
strarsis 7b42280
Use include files for re-using HTTP/3 specific `nginx` directives.
strarsis 2c49e34
Make http3 jinja conditions more readable.
strarsis 9a2114a
Remove conditional firewall inbound rule for `https` (in separate PR).
strarsis fdc2386
Improve task name.
strarsis 5c2acc5
Disable SSL early data.
strarsis 6f76411
Use now merged conditional https ferm rule.
strarsis 5db674d
Move http3 includes into `server_basic` block.
strarsis 1b7ac71
Add global quic listen with reuseport for working QUIC responses.
strarsis 80d5f39
Conditionally add global listen quic reuseport config file.
strarsis aac581d
Use `reuseport` in first HTTPS site config directly instead in global…
strarsis e358962
Remove debug output in template.
strarsis a42df0c
Fix newline in comment.
strarsis 25159e2
Make `first_site_using_ssl` a normal variable.
strarsis f0311c0
Improve newlines in config.
strarsis 902f47b
Improve newlines in config.
strarsis 91bb2c8
Also enable `http3_hq`.
strarsis 36130d2
Enable `http3_hq` in http3 tune config instead.
strarsis 799025b
Add rtt0 setting.
strarsis 346da4d
Improve comment on rtt0 mitigation.
strarsis aa29966
Remove unused experimental quic directive.
strarsis ed4947f
Fix typo
strarsis 63e700d
Remove now unused special h3 alt-svc header for redirects.
strarsis 19ec2ef
Fix typo.
strarsis 270bb79
Add rtt0 to 0-RTT specific comments to make them better discoverable.
strarsis 3c45adb
Use map for reject_early_data.
strarsis ae05239
Remove redundant rtt0 config from http3 tune config.
strarsis f95a7be
Make is_first_site_use_ssl variable more robust.
strarsis ccd3269
Make it clear by conventions and comments that 0-RTT is TLS1.3- and n…
strarsis 7165b56
Make it clear by conventions and comments that also QUIC is TLS1.3- a…
strarsis fd8d458
Fix nginx condition for ssl_early_data for 0-rtt.
strarsis d3cace5
Add ssl_enabled and sites_use_ssl to conditions.
strarsis 66836c8
Improve comment.
strarsis f3f59ca
Enable HTTP/3 support by default.
strarsis a07021f
Remove unused standalone server udp/http/3 config.
strarsis 49fb711
Remove superflous nginx site conf.
strarsis abc2660
Remove useless h3 alt-svc header in redirect sources.
strarsis 5aa4199
Fix condition for map in nginx.conf.
strarsis b4065ba
Remove unrelated, currently experimental 0-RTT config.
strarsis a753fe5
Merge branch 'master' into add-http3-support
strarsis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
roles/wordpress-setup/templates/includes/directive-only/http3-negotiate.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| # Add Alt-Svc header to negotiate HTTP/3. | ||
| add_header alt-svc 'h3=":443"; ma=86400'; | ||
3 changes: 3 additions & 0 deletions
3
roles/wordpress-setup/templates/includes/directive-only/quic-tune.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| # QUIC transport (HTTP/3 specific) | ||
| quic_retry on; | ||
| quic_gso on; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.