fiorix/freegeoip

AWS ALB path forwarding to 8080/json/

Closed this issue · 1 comments

Would it be possible to access the /json/ path directly from port 8080 so I can point my api traffic coming from https://foo.com/v1/geo directly to <container>:8080 to get the /json/ return?

As I currently have a load balancer set up on Amazon Web Services that points to the container at port 8080 which doesn't return anything.

There's no option to remove the /json/ prefix in freegeoip. You should do that in a reverse proxy sitting in front of the freegeoip web server.