Skip to content

Commit a8d1e8c

Browse files
committed
Change host and force ssl
1 parent 41d6821 commit a8d1e8c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config/prod.exs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ use Mix.Config
1010
# which you should run after static files are built and
1111
# before starting your production server.
1212
config :components_guide_web, ComponentsGuideWeb.Endpoint,
13-
url: [host: System.get_env("APP_NAME") <> ".gigalixirapp.com", port: 80],
13+
# url: [host: System.get_env("APP_NAME") <> ".gigalixirapp.com", port: 80],
14+
url: [host: "components.guide", port: 80],
15+
force_ssl: [rewrite_on: [:x_forwarded_proto]],
1416
cache_static_manifest: "priv/static/cache_manifest.json"
1517

1618
# ## SSL Support

0 commit comments

Comments
 (0)