mix beacon.gen.proxy_endpoint (Beacon v0.5.0)
View SourceGenerates a ProxyEndpoint in the current project, enabling Beacon to serve sites at multiple hosts.
Example
mix beacon.gen.proxy_endpoint
Options
--secret-key-base
(optional) - The value to use for secret_key_base in your app config. By default, Beacon will generate a new value and update all existing config to match that value. If you don't want this behavior, copy the secret_key_base from your app config and provide it here.--signing-salt
(optional) - The value to use for signing_salt in your app config. By default, Beacon will generate a new value and update all existing config to match that value. But in order to avoid connection errors for existing clients, it's recommened to copy thesigning_salt
from your app config and provide it here.--session-key
(optional) - The value to use for key in the session config. Defaults to"_your_app_name_key"
--session-same-site
(optional) - Set the cookie session SameSite attributes. Defaults to"Lax"