Skip to content

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

Create URL correctly

Uku Tahtb07213c11a44
diff --git a/config/prod.exs b/config/prod.exs
index 58ec155ba0..4b69d6a2ae 100644
--- a/config/prod.exs
+++ b/config/prod.exs
@@ -11,7 +11,7 @@ use Mix.Config
# before starting your production server.
config :plausible, PlausibleWeb.Endpoint,
http: [:inet6, port: System.get_env("PORT") || 4000],
- url: [host: System.get_env("HOST"), scheme: "https"],
+ url: [host: System.get_env("HOST"), scheme: "https", port: 443],
cache_static_manifest: "priv/static/cache_manifest.json"
# Do not print debug messages in production