update ciphers and timeouts

This commit is contained in:
ace 2024-08-01 18:36:54 +03:00
parent c29af76378
commit eadc48d6e7
Signed by: ace
GPG Key ID: 2C08973DD37A76FD
2 changed files with 7 additions and 2 deletions

View File

@ -24,13 +24,15 @@ pgbouncer_admin_users: "postgres"
pgbouncer_client_tls_sslmode: "prefer"
pgbouncer_client_tls_key_file: "/etc/pki/tls/private/cert.key"
pgbouncer_client_tls_cert_file: "/etc/pki/tls/cert/cert.crt"
pgbouncer_client_tls_protocols: "tlsv1.3"
pgbouncer_client_tls_protocols: "secure"
pgbouncer_client_tls_ciphers: "secure"
pgbouncer_server_tls_sslmode: "prefer"
pgbouncer_server_tls_key_file: "/etc/pki/tls/private/cert.key"
pgbouncer_server_tls_cert_file: "/etc/pki/tls/cert/cert.crt"
pgbouncer_server_tls_protocols: "tlsv1.3"
pgbouncer_server_tls_protocols: "secure"
pgbouncer_server_tls_ciphers: "secure"
pgbouncer_server_lifetime: "300"
pgbouncer_server_idle_timeout: "30"
pgbouncer_postgresql_host: "localhost"
pgbouncer_postgresql_db: "postgres"
pgbouncer_postgresql_superuser_username: "postgres"

View File

@ -39,6 +39,9 @@ default_pool_size = {{ pgbouncer_default_pool_size }}
reserve_pool_size = {{ pgbouncer_reserve_pool_size }}
reserve_pool_timeout = 1
max_db_connections = {{ pgbouncer_max_db_connections }}
server_lifetime = {{ pgbouncer_server_lifetime }}
server_idle_timeout = {{ pgbouncer_server_idle_timeout }}
pkt_buf = 8192
listen_backlog = 4096