Skip to content

Commit

Permalink
Update Multiple Domains Hosting guide
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrexaviersm committed Jan 12, 2024
1 parent 52fff1f commit c1413da
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions guides/deployment/multiple_domains_hosting.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ end

## Multiple Domains/Tenants hosting with BeaconCMS

So if you need to host multiple domains or subdomains in Beacon, you can use the same `:host` option:
So if you need to host multiple domains or subdomains with Beacon, you can use the same `:host` option:

Here's another example, but now using Beacon:

Expand All @@ -46,10 +46,11 @@ Here's another example, but now using Beacon:
end
```

You also need to pass the :check_origin option when configuring your
You also need to pass the `:check_origin` option when configuring your
endpoint explicitly outlining which origins are allowed:

`runtime.exs`
Edit `config/runtime.exs` and edit the following config inside `config :my_app, MyAppWeb.Endpoint, ...`:

```elixir
check_origin: [
"https://beacon-demo.com/",
Expand Down

0 comments on commit c1413da

Please sign in to comment.