Skip to content

Commit

Permalink
Merge branch 'prod' into feature/hanuman
Browse files Browse the repository at this point in the history
  • Loading branch information
ks0m1c authored Feb 25, 2024
2 parents 0c380d9 + 2228f94 commit 1e0afac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion config/prod.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ import Config
# manifest is generated by the `mix assets.deploy` task,
# which you should run after static files are built and
# before starting your production server.
config :vyasa, VyasaWeb.Endpoint, cache_static_manifest: "priv/static/cache_manifest.json"
config :vyasa, VyasaWeb.Endpoint,
cache_static_manifest: "priv/static/cache_manifest.json",
force_ssl: [
host: nil,
rewrite_on: [:x_forwarded_port, :x_forwarded_proto],
hsts: false]

# Configures Swoosh API Client
config :swoosh, api_client: Swoosh.ApiClient.Finch, finch_name: Vyasa.Finch
Expand Down
1 change: 1 addition & 0 deletions config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ if config_env() == :prod do
ip: {0, 0, 0, 0, 0, 0, 0, 0},
port: port
],
check_origin: ["https://vyasa.tv", "https://www.vyasa.tv", "https://vyasa.fly.dev"],
secret_key_base: secret_key_base

# ## SSL Support
Expand Down

0 comments on commit 1e0afac

Please sign in to comment.