mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-11-09 22:26:10 +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}加密的${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连接`,
|
||||
|
||||
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user