github auth

This commit is contained in:
Maygician 2020-10-05 16:59:48 +07:00
commit daf319d786
12 changed files with 119 additions and 17 deletions

View file

@ -16,9 +16,9 @@ config :lp, Lp.Repo,
# watchers to your application. For example, we use it
# with webpack to recompile .js and .css sources.
config :lp, LpWeb.Endpoint,
http: [port: 4000],
# http: [port: 80],
https: [
port: 4001,
port: 443,
cipher_suite: :strong,
keyfile: "priv/cert/selfsigned_key.pem",
certfile: "priv/cert/selfsigned.pem"