mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-11-05 18:56:09 +08:00
Added http/3 and port reuse support (#238)
* Added http/3 and port reuse support * eslint fixes * updated locale translations * euhm no one saw this * Did requested changes * fixed eslint * note to self tab is 4 spaces not 2 * Did requested changes * added coma * i forgot to ctrl + s * did requested changes * removed trailing comma * it should be reverted now * :PanSpoonSad: intensifies * Im bad at this
This commit is contained in:
@@ -30,6 +30,10 @@ export default {
|
||||
enableEncryptedSslConnection: `${common.enable} encrypted ${common.ssl} connections`,
|
||||
http2: `${common.http}/2`,
|
||||
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`,
|
||||
|
||||
@@ -47,4 +47,9 @@ export default {
|
||||
ipv4Only: `${ipv4} only`,
|
||||
ipv6Only: `${ipv6} only`,
|
||||
ipv4AndIpv6: `${ipv4} & ${ipv6}`,
|
||||
http3Warning1: 'HTTP/3 isn\'t a standard NGINX module, check the ',
|
||||
http3Warning2: 'NGINX QUIC readme ',
|
||||
http3Warning3: ' or the ',
|
||||
http3Warning4: 'Cloudflare quiche project ',
|
||||
http3Warning5: ' for how to build NGINX with HTTP/3!',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user