Commit 7cc41f4ffa628ede5864878f6c75f3c6248d8722

Thomas de Grivel 2021-11-29T09:08:15

prod

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/config/prod.exs b/config/prod.exs
index f62d6ec..55a6d08 100644
--- a/config/prod.exs
+++ b/config/prod.exs
@@ -10,10 +10,12 @@ import Config
 # which you should run after static files are built and
 # before starting your production server.
 config :kmxgit, KmxgitWeb.Endpoint,
-  http: [ip: {127, 0, 0, 1}, port: 15008],
-  url: [host: "git.kmx.io", port: 80],
+  url: [scheme: "https", host: "git.kmx.io", port: 443],
   cache_static_manifest: "priv/static/cache_manifest.json"
 
+config :kmxgit, Phoenix.Endpoint.Cowboy2Adapter,
+  http: [ip: {127, 0, 0, 1}, port: 15008]
+
 # Do not print debug messages in production
 config :logger, level: :info