mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-11-05 18:56:09 +08:00
reuseport is not HTTP/3 only (#283)
* reuseport is not HTTP/3 only * Forgot to remove these * Move reuseport to global > https * Update i18n files * Only set reuseport once per ip:port pair * Move reuseport opt outside ssl conditional * Update copyright headers of touched files Co-authored-by: MattIPv4 <me@mattcowley.co.uk>
This commit is contained in:
@@ -32,8 +32,6 @@ export default {
|
||||
enableHttp2Connections: `${common.enable} ${common.http}/2 connections`,
|
||||
http3: `${common.http}/3`,
|
||||
enableHttp3Connections: `${common.enable} ${common.http}/3 connections`,
|
||||
portReuse: 'Reuseport',
|
||||
enableReuseOfPort: `${common.enable} reuseport to generate a listening socket per worker`,
|
||||
forceHttps: `Force ${common.https}`,
|
||||
hsts: 'HSTS',
|
||||
enableStrictTransportSecurity: `${common.enable} Strict Transport Security, requiring HTTPS connections`,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright 2020 DigitalOcean
|
||||
Copyright 2021 DigitalOcean
|
||||
|
||||
This code is licensed under the MIT License.
|
||||
You may obtain a copy of the License at
|
||||
@@ -33,6 +33,8 @@ const ipv6 = 'IPv6';
|
||||
export default {
|
||||
sslProfile: `${common.ssl} Profile`,
|
||||
httpsMustBeEnabledOnOneSite: `${common.https} must be enabled on at least one site to configure global ${common.https} settings.`,
|
||||
portReuse: 'Reuseport',
|
||||
enableReuseOfPort: `${common.enable} reuseport to generate a listening socket per worker`,
|
||||
ocspDnsResolvers: 'OCSP DNS Resolvers',
|
||||
cloudflareResolver: 'Cloudflare Resolver',
|
||||
googlePublicDns: 'Google Public DNS',
|
||||
|
||||
Reference in New Issue
Block a user