temporary fix for config code blocks

This commit is contained in:
2024-11-03 13:11:52 +01:00
parent 059c24ef6f
commit d016387976
22 changed files with 41 additions and 41 deletions

View File

@ -15,7 +15,7 @@ openssl req -x509 -newkey rsa:4096 -nodes -keyout <key>.key -out <cert>.pem -sha
## Включение TLS
В файл `/var/lib/pgpro/std-*/data/postgresql.conf` необходимо добавить следующие строки:
```config
```python
ssl = on
ssl_cert_file = '<cert>.pem'
ssl_key_file = '<key>.pem'
@ -25,7 +25,7 @@ listen_addresses = 'localhost, <master-ip>'
## Разрешение доступа через TLS
В файл `/var/lib/pgpro/std-*/data/pg_hba.conf` необходимо добавить следующие строки:
```config
```python
hostssl <user> <database> <client-ip> scram-sha-256
```