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

Listen to 0.0.0.0 #63

Open
nxmad opened this issue Dec 2, 2024 · 1 comment
Open

Listen to 0.0.0.0 #63

nxmad opened this issue Dec 2, 2024 · 1 comment
Labels
confirmed next step Anything that is confirmed for future versions enhancement New feature or request

Comments

@nxmad
Copy link

nxmad commented Dec 2, 2024

Hi guys. Is there any option to configure host PG Back Web listens to?
I was expecting it will listen to 0.0.0.0 by default since it's not available to reverse proxies like Nginx or Traefik if it listens to localhost inside container.
I'm not familiar with Echo framework, but it seems like if you change this line

if err := app.Start(":8085"); err != nil {

to

if err := app.Start("0.0.0.0:8085"); err != nil {

it ain't gonna break anything and will add support for setups with reverse proxies. Or you could possibly use env variable for that.

@eduardolat eduardolat added confirmed next step Anything that is confirmed for future versions enhancement New feature or request labels Dec 2, 2024
@eduardolat
Copy link
Owner

I'll add environment variables for host and port in the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed next step Anything that is confirmed for future versions enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants