@@ -216,7 +216,7 @@ real-world example, continue to
216
216
to the config. The container ID is different, because the
217
217
`service update` command redeploys the service.
218
218
219
- ```none
219
+ ```console
220
220
$ docker container exec -it $(docker ps --filter name=redis -q) cat /my-config
221
221
222
222
cat: can't open '/my-config': No such file or directory
@@ -248,7 +248,7 @@ This example assumes that you have PowerShell installed.
248
248
</body>
249
249
</html>
250
250
```
251
-
251
+
252
252
2. If you have not already done so, initialize or join the swarm.
253
253
254
254
```powershell
@@ -373,7 +373,7 @@ generate the site key and certificate, name the files `site.key` and
373
373
the following contents into it. This constrains the root CA to only sign
374
374
leaf certificates and not intermediate CAs.
375
375
376
- ```none
376
+ ```ini
377
377
[root_ca]
378
378
basicConstraints = critical,CA:TRUE,pathlen:1
379
379
keyUsage = critical, nonRepudiation, cRLSign, keyCertSign
@@ -407,7 +407,7 @@ generate the site key and certificate, name the files `site.key` and
407
407
certificate so that it can only be used to authenticate a server and
408
408
can't be used to sign certificates.
409
409
410
- ```none
410
+ ```ini
411
411
[server]
412
412
authorityKeyIdentifier=keyid,issuer
413
413
basicConstraints = critical,CA:FALSE
@@ -438,7 +438,7 @@ generate the site key and certificate, name the files `site.key` and
438
438
In the current directory, create a new file called `site.conf` with the
439
439
following contents:
440
440
441
- ```none
441
+ ```nginx
442
442
server {
443
443
listen 443 ssl;
444
444
server_name localhost;
@@ -616,7 +616,7 @@ configuration file.
616
616
1. Edit the `site.conf` file locally. Add `index.php` to the `index` line, and
617
617
save the file.
618
618
619
- ```none
619
+ ```nginx
620
620
server {
621
621
listen 443 ssl;
622
622
server_name localhost;
0 commit comments