mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 20:50:24 +00:00
Fix a few examples using cert instead of certfile
This commit is contained in:
parent
8875b07b37
commit
3030c2d5c9
2 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ transport option to `verify_peer`:
|
|||
----
|
||||
{ok, _} = cowboy:start_tls(example, [
|
||||
{port, 8443},
|
||||
{cert, "path/to/cert.pem"},
|
||||
{certfile, "path/to/cert.pem"},
|
||||
{verify, verify_peer}
|
||||
], #{
|
||||
env => #{dispatch => Dispatch}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue