mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-04-06 10:26:49 +00:00
doc(pg): clarify use of standard TLS with SNI and ALPN
This commit is contained in:
@@ -47,7 +47,7 @@ To login: \
|
||||
# as Postgres admin
|
||||
psql "postgres://postgres:postgres@localhost:5432/postgres"
|
||||
|
||||
# as remote user
|
||||
# as remote user (over standard TLS and SNI, with ALPN set to 'postgresql')
|
||||
psql "postgres://db-xxxx@pg-1.example.com:5432/db-xxxx?sslmode=require&sslnegotiation=direct"
|
||||
```
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ psql "postgres://db-xxxx:secret123@pg-1.example.com:5432/db-xxxx"
|
||||
```
|
||||
|
||||
For remote / public networks: \
|
||||
(with `sslmode` & `sslnegotiation`)
|
||||
(with `sslmode` & `sslnegotiation` for standard TLS and SNI, with ALPN set to 'postgresql')
|
||||
|
||||
```sh
|
||||
psql "postgres://db-xxxx@pg-1.example.com:5432/db-xxxx?sslmode=require&sslnegotiation=direct"
|
||||
|
||||
Reference in New Issue
Block a user