diff --git a/config/config.exs b/config/config.exs index 152bd7c82..d3c8c189b 100644 --- a/config/config.exs +++ b/config/config.exs @@ -19,7 +19,7 @@ config :plausible, :clickhouse, config :plausible, PlausibleWeb.Endpoint, url: [ host: System.get_env("HOST", "localhost"), - port: String.to_integer(System.get_env("PORT", "8000")) + scheme: System.get_env("SCHEME", "http") ], http: [ port: String.to_integer(System.get_env("PORT", "8000")) diff --git a/lib/plausible_web/templates/site/custom_domain_dns_setup.html.eex b/lib/plausible_web/templates/site/custom_domain_dns_setup.html.eex index 4fbfc1cc0..b50f1980a 100644 --- a/lib/plausible_web/templates/site/custom_domain_dns_setup.html.eex +++ b/lib/plausible_web/templates/site/custom_domain_dns_setup.html.eex @@ -3,8 +3,8 @@
<%= @site.custom_domain.domain %>custom.<%= plausible_url() %>. (including the dot)custom.<%= base_domain() %>. (including the dot)