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

Hardcoded servers definition makes swagger UI usage not possible, when using a load balancer #2

Open
Ocramius opened this issue Sep 27, 2022 · 0 comments

Comments

@Ocramius
Copy link

I'm aware that StraightMail was designed to stay within its own VPC network (not exposed to the outside), but in a dev environment, it is not uncommon to make the HTTP traffic available to the host, either via:

  • port forwarding
  • ngrok-alike tunnel
  • traefik and Host header routing
  • path routing
  • etc...

The current API location (according to swagger UI) is hardcoded:

Perhaps that can be dropped, letting swagger use the current host as server URI?

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

1 participant