Skip to content

Commit dfa27b6

Browse files
Merge branch 'fullstack-hy2020:source' into brazilian-portuguese-translation
2 parents ae1c42f + 7ec80fb commit dfa27b6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/content/11/en/part11c.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ You most likely need to do at least two changes. Firstly, define the Node versio
8181
```json
8282
{
8383
// highlight-start
84-
"engines" : {
85-
"node" : "16.13.2"
84+
"engines": {
85+
"node": "16.13.2"
8686
},
8787
// highlight-end
8888
"name": "fullstackopen-cicd",
@@ -111,7 +111,7 @@ Here the <i>app</i> refers to the application process that is started up in the
111111
[[services]]
112112
http_checks = []
113113
internal_port = 8080
114-
processes = ["app"] // highlight-line
114+
processes = ["app"] # highlight-line
115115
```
116116

117117
#### 11.10 Deploying your application to Fly.io
@@ -164,7 +164,7 @@ services.tcp_checks](https://fly.io/docs/reference/configuration/#services-tcp_c
164164
timeout = "2s"
165165
```
166166

167-
This section defines a basic health check of the deployment. The tcp check ensures that the virtual machine where the app resides is up and running and reachable from outside, by opening a [TCP](https://en.wikipedia.org/wiki/Transmission_Control_Protocol) connection to the virtual machine.
167+
This section defines a basic health check of the deployment. The TCP check ensures that the virtual machine where the app resides is up and running and reachable from outside, by opening a [TCP](https://en.wikipedia.org/wiki/Transmission_Control_Protocol) connection to the virtual machine.
168168

169169
This check notices if something is fundamentally broken in the configurations. E.g. in my case for the app of this part, it took several trials until I got the app up and running:
170170

@@ -191,7 +191,7 @@ app.get('/health', (req, res) => {
191191
})
192192
```
193193

194-
Configure then a [HTTP-check](https://fly.io/docs/reference/configuration/#services-tcp_checks) that ensures the health of the depyments based on the HTTP request to the defined health check endpoint.
194+
Configure then a [HTTP-check](https://fly.io/docs/reference/configuration/#services-http_checks) that ensures the health of the depyments based on the HTTP request to the defined health check endpoint.
195195

196196
Note that the default fly.toml has defined that <i>http\_checks</i> is an empty array. You need to remove this line when you are adding a manually defined HTTP-check:
197197

0 commit comments

Comments
 (0)