diff --git a/README.md b/README.md index 9e8dfa5..296921d 100644 --- a/README.md +++ b/README.md @@ -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"}'