moorkop / mccy-engine

Provides a web based "Minecraft Server as a Service" (MCaaS?) to deploy Minecraft server containers on any Docker Swarm cluster or standalone Engine instance.
Apache License 2.0
12 stars 4 forks source link

"Download client side mods" link is incorrect #49

Closed sshipway closed 8 years ago

sshipway commented 8 years ago

The URL of the MCCY server is https://mccy.itzg.me/ ; however, the link of the "Download client side mods" points to http://mccy-staging.itzg.me:8080/

I suspect that the HTTP headers are not being checked for creating the self-referential URL and this is the hostname/port behind the load balancer/proxy?

itzg commented 8 years ago

Yeah, I naively wrote that code in the pre-proxy days :) I'll look at this one while I also figure out nginx upload issues.

itzg commented 8 years ago

It turns out this is due to some of the containers being created before the proxy was in place. So those URLs were computed with old "8080" type address.