Documentation of Phoenix.Endpoint says
:url- configuration for generating URLs throughout the app. Accepts the:host,:scheme,:pathand:portoptions.
So it should be enough to add scheme: "https" to your :url config
Documentation of Phoenix.Endpoint says
:url- configuration for generating URLs throughout the app. Accepts the:host,:scheme,:pathand:portoptions.
So it should be enough to add scheme: "https" to your :url config