Skip to content

Commit 5ed8f87

Browse files
dav-iskodiakhq[bot]
authored andcommitted
Update CDN SSL Information (#1439)
1 parent cfd327f commit 5ed8f87

File tree

4 files changed

+41
-25
lines changed

4 files changed

+41
-25
lines changed

components/references-mdx/api/v2/api-basics/server-specs.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export const meta = {
22
editUrl: 'pages/docs/api/v2/api-docs-mdx/api-basics/server-specs.mdx',
3-
lastEdited: '2019-04-02T23:17:27.000Z'
3+
lastEdited: '2019-11-05T19:44:00.000Z'
44
}
55

66
## Server Specs
@@ -17,6 +17,6 @@ If requests are desired to hit a certain location, however, the API can be acces
1717

1818
The API supports HTTP versions 1, 1.1, and 2, although HTTP/2 is preferred.
1919

20-
TLS version 1.2 is supported.
20+
TLS versions 1.2 and 1.3 are supported, with resumption.
2121

2222
For more information on TLS support, refer to the [SSL Labs report](https://www.ssllabs.com/ssltest/analyze.html?d=api.zeit.co&hideResults=on&latest).

components/references-mdx/configuration/configuration/configuration.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Note from '~/components/text/note'
77
export const meta = {
88
editUrl:
99
'pages/docs/configuration/configuration-mdx/configuration/configuration.mdx',
10-
lastEdited: '2019-10-22T21:47:59.000Z'
10+
lastEdited: '2019-11-05T19:44:00.000Z'
1111
}
1212

1313
# Project
@@ -210,7 +210,7 @@ For more information on Builds and Builders, see the documentation:
210210
{ "src": "/users/(?<id>[^/]*)", "dest": "/users-api.js?id=$id" },
211211
{ "src": "/.*", "dest": "https://my-old-site.com"},
212212
{ "src": "/legacy", "status": 404},
213-
{ "src": "/redirect", "status": 301, "headers": { "Location": "https://zeit.co/" } }
213+
{ "src": "/redirect", "status": 308, "headers": { "Location": "https://zeit.co/" } }
214214
]
215215
}`}</Code>
216216

components/references-mdx/configuration/routes/routes.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Code } from '~/components/text/code'
77

88
export const meta = {
99
editUrl: 'pages/docs/configuration/configuration-mdx/routes/routes.mdx',
10-
lastEdited: '2019-10-22T21:47:59.000Z'
10+
lastEdited: '2019-11-05T19:44:00.000Z'
1111
}
1212

1313
# Routes
@@ -154,13 +154,13 @@ For example, you can use this property in combination with [the `headers` proper
154154

155155
The `status` property defines the status code that Now should respond with when a path is requested.
156156

157-
For example, you can use this property in combination with [the `headers` property](#headers) to create a redirect with the initial status code of 301 (Moved Permanently).
157+
For example, you can use this property in combination with [the `headers` property](#headers) to create a redirect with the initial status code of 308 (Moved Permanently).
158158

159159
<Code lang="json">{`{
160160
"routes": [
161161
{
162162
"src": "/about.html",
163-
"status": 301,
163+
"status": 308,
164164
"headers": { "Location": "/about-us.html" }
165165
}
166166
]

pages/docs/v2/network/encryption.mdx

+34-18
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ export const meta = {
99
title: 'Encryption',
1010
description: 'Every ZEIT Now deployment is served of a HTTPS Connection.',
1111
editUrl: 'pages/docs/v2/network/encryption.mdx',
12-
lastEdited: '2019-08-21T15:24:05.000Z'
12+
lastEdited: '2019-11-05T19:50:59.000Z'
1313
}
1414

1515
Out of the box, every **Deployment** on ZEIT Now is served over an HTTPS connection. The [SSL](https://en.wikipedia.org/wiki/Transport_Layer_Security) certificates for these unique URLs are automatically generated free of charge.
1616

17-
Furthermore, any HTTP requests to your **Deployments** are automatically forwarded to HTTPS using the `301` status code:
17+
Furthermore, any HTTP requests to your **Deployments** are automatically forwarded to HTTPS using the `308` status code:
1818

1919
```
20-
HTTP/1.1 301 Moved Permanently
20+
HTTP/1.1 308 Moved Permanently
2121
Content-Type: text/plain
2222
Location: https://<your-deployment-host>
2323
```
@@ -38,38 +38,54 @@ It is not possible to disable this redirection or prevent the **Deployment** f
3838

3939
## Supported TLS Versions
4040

41-
ZEIT Now supports TLS version [1.2](https://en.wikipedia.org/wiki/Transport_Layer_Security#TLS_1.2).
41+
ZEIT Now supports TLS version [1.2](https://en.wikipedia.org/wiki/Transport_Layer_Security#TLS_1.2) and TLS version [1.3](https://en.wikipedia.org/wiki/Transport_Layer_Security#TLS_1.3).
4242

4343
## Supported Ciphers
4444

45-
In order to ensure the integrity of the data received and sent by any **Deployment** running on the **ZEIT Now** platform, we only support ciphers with [forward secrecy](https://en.wikipedia.org/wiki/Forward_secrecy).
45+
In order to ensure the integrity of the data received and sent by any **Deployment** running on the **ZEIT Now** platform, we only support strong ciphers with [forward secrecy](https://en.wikipedia.org/wiki/Forward_secrecy).
4646

4747
The following cipher algorithms are supported:
4848

49-
- ECDH+AESGCM
50-
- ECDH+AES256
51-
- ECDH+AES128
52-
- DH+3DES
53-
- !ADH
54-
- !AECDH
55-
- !MD5
56-
- !EDH-RSA-DES-CBC3-SHA
49+
- TLS_AES_128_GCM_SHA256 (TLS 1.3)
50+
- TLS_AES_256_GCM_SHA384 (TLS 1.3)
51+
- TLS_CHACHA20_POLY1305_SHA256 (TLS 1.3)
52+
- ECDHE-ECDSA-AES128-GCM-SHA256 (TLS 1.2)
53+
- ECDHE-RSA-AES128-GCM-SHA256 (TLS 1.2)
54+
- ECDHE-ECDSA-AES256-GCM-SHA384 (TLS 1.2)
55+
- ECDHE-RSA-AES256-GCM-SHA384 (TLS 1.2)
56+
- ECDHE-ECDSA-CHACHA20-POLY1305 (TLS 1.2)
57+
- ECDHE-RSA-CHACHA20-POLY1305 (TLS 1.2)
58+
- DHE-RSA-AES128-GCM-SHA256 (TLS 1.2)
59+
- DHE-RSA-AES256-GCM-SHA384 (TLS 1.2)
60+
61+
This is the [recommended configuration from Mozilla](https://wiki.mozilla.org/Security/Server_Side_TLS#Intermediate_compatibility_.28recommended.29).
5762

5863
## Support for HSTS
5964

60-
Only the `.now.sh` domain (and therefore all of its sub domains, which are the unique URLs set when creating a deployment) support HSTS.
65+
The `.now.sh` domain (and therefore all of its sub domains, which are the unique URLs set when creating a deployment) support HSTS automatically and are preloaded.
66+
67+
```
68+
Strict-Transport-Security: max-age=63072000; includeSubDomains; preload;
69+
```
70+
71+
<Caption>
72+
The default <InlineCode>Strict-Transport-Security</InlineCode> header for
73+
*.now.sh
74+
</Caption>
6175

62-
You can enable this by setting the `Strict-Transport-Security` ([more details](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security)) header to the following value in your **Deployment**:
76+
Custom domains use HSTS, but only for the particular subdomain.
6377

6478
```
65-
Strict-Transport-Security: max-age=31536000; includeSubDomains;
79+
Strict-Transport-Security: max-age=63072000;
6680
```
6781

6882
<Caption>
69-
An example <InlineCode>Strict-Transport-Security</InlineCode> header enabling
70-
HSTS.
83+
The default <InlineCode>Strict-Transport-Security</InlineCode> header for
84+
custom domains
7185
</Caption>
7286

87+
You can modify this by setting the `Strict-Transport-Security` ([more details](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security)) header in your deployment.
88+
7389
Theoretically, you could set the `max-age` parameter to a different value (it indicates how long the client should remember that your site is only accessible over HTTPS), but since we do not allow connections made over HTTP, there is no point in setting it to a shorter value, as the client can just remember it forever.
7490

7591
<Note hint>

0 commit comments

Comments
 (0)