March 2020
Intermediate to advanced
328 pages
7h 58m
English
You will need to make a few small changes to your Phoenix application configuration when you deploy to production, although most things will work out-of-the-box. Phoenix provides a guide[56] on how to deploy with releases. This guide helps you configure your application secrets, runtime configuration, and asset bundling.
There is one configuration that is specific for Channel-based applications—origin checking. Let’s look at that now.
Origin checking is a security measure to restrict which websites can connect to your application. By default, incoming connections to a Channel transport inspect the Origin HTTP header and ensure that it matches an allowed list. The only allowed origin, by ...
Read now
Unlock full access