From 85fcdbdbd6c1761350c66cb93ef15f2b32823997 Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Mon, 18 Oct 2021 11:16:56 +0200 Subject: [PATCH] Respect the `path` component of BASE_URL --- config/runtime.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/runtime.exs b/config/runtime.exs index 2699361ba..c75ef813d 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -187,7 +187,7 @@ config :plausible, :selfhost, disable_registration: if(!disable_auth, do: disable_registration, else: false) config :plausible, PlausibleWeb.Endpoint, - url: [host: base_url.host, scheme: base_url.scheme, port: base_url.port], + url: [scheme: base_url.scheme, host: base_url.host, path: base_url.path, port: base_url.port], http: [port: port, transport_options: [max_connections: :infinity]], secret_key_base: secret_key_base