Closed jjcarstens closed 4 years ago
Yeah, It is a documentation issue. It accepts the options of Plug.SSL.configure not the Plug.SSL options. And the options for Plug.SSL.configure are not listed anywhere. :D It should work if you remove the host
and rewrite_on
options.
I have improved the docs in Plug master, thanks!
The docs seem to state that you can pass any option from
Plug.SSL.configure/1
(see this)But in practice, that doesn't seem to work for me. I don't know enough about plug to know which rabbit hole to go down for this. Any help is appreciated.
Also fails when trying to use
child_spec/1
The only options I can get to work are
:certfile
and:keyfile
. This may be user-error and I might just need help understanding how to specify the SSL opts correctly?