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:
J3fftw
2021-03-29 21:35:55 +02:00
committed by GitHub
parent 89e847b62f
commit 8b7cf80733
14 changed files with 146 additions and 0 deletions

View File

@@ -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`,

View File

@@ -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!',
};

View File

@@ -30,6 +30,10 @@ export default {
enableEncryptedSslConnection: `${common.enable} les connexions ${common.ssl}`,
http2: `${common.http}/2`,
enableHttp2Connections: `${common.enable} les connexions ${common.http}/2`,
http3: `${common.http}/3`,
enableHttp3Connections: `${common.enable} les connexions ${common.http}/3`,
portReuse: 'Reuseport', // TODO: translate
enableReuseOfPort: `${common.enable} reuseport to generate a listening socket per worker`, // TODO: translate
forceHttps: `Forcer ${common.https}`,
hsts: 'HSTS',
enableStrictTransportSecurity: `${common.enable} Strict Transport Security, exigeant HTTPS`,

View File

@@ -47,4 +47,9 @@ export default {
ipv4Only: `${ipv4} seulement`,
ipv6Only: `${ipv6} seulement`,
ipv4AndIpv6: `${ipv4} & ${ipv6}`,
http3Warning1: 'HTTP/3 isn\'t a standard NGINX module, check the ', // TODO: translate
http3Warning2: 'NGINX QUIC readme ', // TODO: translate
http3Warning3: ' or the ', // TODO: translate
http3Warning4: 'Cloudflare quiche project ', // TODO: translate
http3Warning5: ' for how to build NGINX with HTTP/3!', // TODO: translate
};

View File

@@ -30,6 +30,10 @@ export default {
enableEncryptedSslConnection: `${common.enable} conexões ${common.ssl} criptografadas`,
http2: `${common.http}/2`,
enableHttp2Connections: `${common.enable} conexões ${common.http}/2`,
http3: `${common.http}/3`,
enableHttp3Connections: `${common.enable} conexões ${common.http}/3`,
portReuse: 'Reuseport', // TODO: translate
enableReuseOfPort: `${common.enable} reuseport to generate a listening socket per worker`, // TODO: translate
forceHttps: `Forçar ${common.https}`,
hsts: 'HSTS',
enableStrictTransportSecurity: `${common.enable} Strict Transport Security, requerendo conexões HTTPS`,

View File

@@ -47,4 +47,9 @@ export default {
ipv4Only: `${ipv4} apenas`,
ipv6Only: `${ipv6} apenas`,
ipv4AndIpv6: `${ipv4} & ${ipv6}`,
http3Warning1: 'HTTP/3 isn\'t a standard NGINX module, check the ', // TODO: translate
http3Warning2: 'NGINX QUIC readme ', // TODO: translate
http3Warning3: ' or the ', // TODO: translate
http3Warning4: 'Cloudflare quiche project ', // TODO: translate
http3Warning5: ' for how to build NGINX with HTTP/3!', // TODO: translate
};

View File

@@ -30,6 +30,10 @@ export default {
enableEncryptedSslConnection: `${common.enable} зашифрованные ${common.ssl} соединения`,
http2: `${common.http}/2`,
enableHttp2Connections: `${common.enable} ${common.http}/2 соединения`,
http3: `${common.http}/3`,
enableHttp3Connections: `${common.enable} ${common.http}/3 соединения`,
portReuse: 'Reuseport', // TODO: translate
enableReuseOfPort: `${common.enable} reuseport to generate a listening socket per worker`, // TODO: translate
forceHttps: `Использовать только ${common.https}`,
hsts: 'HSTS',
enableStrictTransportSecurity: `${common.enable} Strict Transport Security, требующая HTTPS соединения`,

View File

@@ -47,4 +47,9 @@ export default {
ipv4Only: `только ${ipv4}`,
ipv6Only: `только ${ipv6}`,
ipv4AndIpv6: `${ipv4} & ${ipv6}`,
http3Warning1: 'HTTP/3 isn\'t a standard NGINX module, check the ', // TODO: translate
http3Warning2: 'NGINX QUIC readme ', // TODO: translate
http3Warning3: ' or the ', // TODO: translate
http3Warning4: 'Cloudflare quiche project ', // TODO: translate
http3Warning5: ' for how to build NGINX with HTTP/3!', // TODO: translate
};

View File

@@ -30,6 +30,10 @@ export default {
enableEncryptedSslConnection: `${common.enable}加密的${common.ssl}连接`,
http2: `${common.http}/2`,
enableHttp2Connections: `${common.enable} ${common.http}/2 连接`,
http3: `${common.http}/3`,
enableHttp3Connections: `${common.enable} ${common.http}/3 连接`,
portReuse: 'Reuseport', // TODO: translate
enableReuseOfPort: `${common.enable} reuseport to generate a listening socket per worker`, // TODO: translate
forceHttps: `强制 ${common.https}`,
hsts: 'HSTS',
enableStrictTransportSecurity: `${common.enable}HSTS强制客户端、浏览器等使用 HTTPS 与服务器创建链接需要HTTPS连接`,

View File

@@ -47,4 +47,9 @@ export default {
ipv4Only: `${ipv4}`,
ipv6Only: `${ipv6}`,
ipv4AndIpv6: `${ipv4} & ${ipv6}`,
http3Warning1: 'HTTP/3 isn\'t a standard NGINX module, check the ', // TODO: translate
http3Warning2: 'NGINX QUIC readme ', // TODO: translate
http3Warning3: ' or the ', // TODO: translate
http3Warning4: 'Cloudflare quiche project ', // TODO: translate
http3Warning5: ' for how to build NGINX with HTTP/3!', // TODO: translate
};

View File

@@ -30,6 +30,10 @@ export default {
enableEncryptedSslConnection: `${common.enable}加密的${common.ssl}連接`,
http2: `${common.http}/2`,
enableHttp2Connections: `${common.enable} ${common.http}/2 連接`,
http3: `${common.http}/3`,
enableHttp3Connections: `${common.enable} ${common.http}/3 連接`,
portReuse: 'Reuseport', // TODO: translate
enableReuseOfPort: `${common.enable} reuseport to generate a listening socket per worker`, // TODO: translate
forceHttps: `強制 ${common.https}`,
hsts: 'HSTS',
enableStrictTransportSecurity: `${common.enable}HSTS強制用戶端、瀏覽器等使用HTTPS與服務器創建連結需要HTTPS連接`,

View File

@@ -47,4 +47,9 @@ export default {
ipv4Only: `${ipv4}`,
ipv6Only: `${ipv6}`,
ipv4AndIpv6: `${ipv4} & ${ipv6}`,
http3Warning1: 'HTTP/3 isn\'t a standard NGINX module, check the ', // TODO: translate
http3Warning2: 'NGINX QUIC readme ', // TODO: translate
http3Warning3: ' or the ', // TODO: translate
http3Warning4: 'Cloudflare quiche project ', // TODO: translate
http3Warning5: ' for how to build NGINX with HTTP/3!', // TODO: translate
};