Commit 5b2668867c7ead5d6a75f95acc94aefba00aa6a3

Thomas de Grivel 2021-11-29T10:49:27

config prod

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/config/runtime.exs b/config/runtime.exs
index 5014771..c5c3cc9 100644
--- a/config/runtime.exs
+++ b/config/runtime.exs
@@ -34,11 +34,7 @@ if config_env() == :prod do
 
   config :kmxgit, KmxgitWeb.Endpoint,
     http: [
-      # Enable IPv6 and bind on all interfaces.
-      # Set it to  {0, 0, 0, 0, 0, 0, 0, 1} for local network only access.
-      # See the documentation on https://hexdocs.pm/plug_cowboy/Plug.Cowboy.html
-      # for details about using IPv6 vs IPv4 and loopback vs public addresses.
-      ip: {0, 0, 0, 0, 0, 0, 0, 0},
+      ip: {127, 0, 0, 1},
       port: String.to_integer(System.get_env("PORT") || "4000")
     ],
     secret_key_base: secret_key_base