Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Match docker Enpoint config to config.exs

Uku Taht47d6013c7688
diff --git a/config/releases.exs b/config/releases.exs
index 446fcf2f51..47581ac295 100644
--- a/config/releases.exs
+++ b/config/releases.exs
@@ -6,6 +6,7 @@ import Config
port = System.get_env("PORT") || 8000
host = System.get_env("HOST", "localhost")
+scheme = System.get_env("SCHEME", "http")
secret_key_base =
System.get_env(
@@ -59,7 +60,7 @@ config :plausible,
mailer_email: mailer_email
config :plausible, PlausibleWeb.Endpoint,
- url: [host: host, port: port],
+ url: [host: host, scheme: scheme],
http: [
port: port
],