Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pg_hba.conf config #211

Open
madawei2699 opened this issue Oct 2, 2023 · 5 comments
Open

pg_hba.conf config #211

madawei2699 opened this issue Oct 2, 2023 · 5 comments

Comments

@madawei2699
Copy link

how to modify the pg_hba.conf config file to config like restrict client access?

@MMore
Copy link

MMore commented May 7, 2024

I have the same issue, have you found a workaround @madawei2699 ?

@davissp14
Copy link
Contributor

If you have specific pg_hba.conf requirements, it would probably be best to fork the project and add whatever you need.

@MMore
Copy link

MMore commented May 8, 2024

My specific requirement is basically adding a few lines there. I don't want to mess up my upgrade path with that tbh.
My overall goal is using Teleport which needs a TLS connection https://community.fly.io/t/postgres-with-ssl-to-use-teleport/19721

@punkpeye
Copy link

punkpeye commented Feb 1, 2025

This is very painful. I just want to enable TLS connection.

@davissp14 could we make this configurable for TLS?

or just make TLS enabled by default

@punkpeye
Copy link

punkpeye commented Feb 1, 2025

Turns out this can be done using pg_tls

https://fly.io/docs/postgres/connecting/connecting-external/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants