From 6994d2e4d757a68d2363046874483d9860c9b43c Mon Sep 17 00:00:00 2001 From: Tim203 Date: Thu, 11 Jul 2024 23:27:06 +0200 Subject: [PATCH] This doesn't exist in this version --- config/prod.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/prod.exs b/config/prod.exs index 0bcfc37..422b06b 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -34,7 +34,7 @@ config :global_api, GlobalApiWeb.Endpoint, port: String.to_integer(System.get_env("PORT") || "80"), otp_app: :global_api ], - force_ssl: [rewrite_on: [:x_forwarded_proto, :x_forwarded_host, :x_forwarded_for], host: nil, log: false], + force_ssl: [rewrite_on: [:x_forwarded_proto, :x_forwarded_host], host: nil, log: false], check_origin: [protocol <> "://*." <> domain], url: [host: "api." <> domain], static_url: [host: "cdn." <> domain],