docs: syntax highlighting
This commit is contained in:
parent
5464eaa826
commit
60a694ce7e
1 changed files with 3 additions and 3 deletions
|
|
@ -28,7 +28,7 @@
|
|||
- Docker
|
||||
|
||||
1. Выполним команды:
|
||||
```
|
||||
```bash
|
||||
docker run --rm -v ./.ssl:/ssl --entrypoint /bin/sh alpine/openssl -c "/ssl/gen-ca.sh && /ssl/gen-cert.sh localhost"
|
||||
docker compose build
|
||||
docker compose up -d
|
||||
|
|
@ -38,12 +38,12 @@
|
|||
## Использование
|
||||
|
||||
Получить MOTD:
|
||||
```
|
||||
```bash
|
||||
curl -k https://localhost/motd
|
||||
```
|
||||
|
||||
Установить MOTD:
|
||||
```
|
||||
```bash
|
||||
curl -k -X POST https://localhost/motd \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"message":"Hello from MOTD app"}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue