I am building a release with Distillery and my prod.exs is
config :tech_bin, MyApp.Endpoint, server: true,
check_origin: ["mysite.com","http://localhost:8080"]
config :tech_bin, MyApp.Endpoint,
http: [port: {:system, "PORT"}],
url: [host: "mysite.com",port: {:system, "PORT"}],
Is this the best way or should it be 127.0.0.1?