Hey Guys, I would like to run my site behind cloudflare using their SSL without ssl on my server,
I need to get: https
in my Endpoint.url
Currently I’m getting this http
iex(5)> Myapp.AppWeb.Endpoint.url
"http://mbenatti.io"
I tried to config the https config Keyword.put(config, :https, [:inet6, port: "443"])
but I got an error:
** (EXIT) shutdown: failed to start child: Phoenix.Endpoint.Handler
** (EXIT) an exception was raised:
** (ArgumentError) could not start Cowboy adapter, missing option :key/:keyfile
Has anyway to configure https without key/keyfile and get https in my endpoint url?