Skip to content

Commit

Permalink
add www
Browse files Browse the repository at this point in the history
  • Loading branch information
cbh123 committed Apr 21, 2024
1 parent ea66477 commit ce0b0ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions config/prod.exs
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ use Mix.Config
# before starting your production server.
config :shlinkedin, ShlinkedinWeb.Endpoint,
http: [port: {:system, "PORT"}],
url: [scheme: "https", host: "www.shlinkedin.com", port: 443],
url: [scheme: "https", host: "shlinkedin.com", port: 443],
force_ssl: [rewrite_on: [:x_forwarded_proto]],
cache_static_manifest: "priv/static/cache_manifest.json",
check_origin: [
"https://shlinkedin.fly.dev"
"https://shlinkedin.com",
"https://shlinkedin.fly.dev",
"https://www.shlinkedin.com"
]

# Do not print debug messages in production
Expand Down
2 changes: 1 addition & 1 deletion fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ kill_signal = 'SIGTERM'
release_command = "/app/bin/migrate"

[env]
PHX_HOST = 'shlinkedin.fly.dev'
PHX_HOST = 'shlinkedin.com'
PORT = '8080'

[experimental]
Expand Down

0 comments on commit ce0b0ab

Please sign in to comment.