Last active
June 10, 2021 12:04
-
-
Save damonvjanis/77a36ca127135727d3f4b932b8c65d69 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
config :my_app, MyAppWeb.Endpoint, | |
url: [host: "<YOUR_DOMAIN.COM>", port: 443], | |
cache_static_manifest: "priv/static/cache_manifest.json", | |
server: true, | |
force_ssl: [hsts: true], | |
http: [port: 4000, transport_options: [socket_opts: [:inet6]]], | |
https: [ | |
port: 4040, | |
cipher_suite: :strong, | |
transport_options: [socket_opts: [:inet6]] | |
] | |
# Set path to cert folder | |
config :my_app, :cert_path, "/home/<YOUR_USERNAME>/site_encrypt_db" | |
# Set the cert mode so site_encrypt knows to hit live LetsEncrypt | |
config :my_app, :cert_mode, "production" | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment