How to use Release config to set a plug static path in an Endpoint on application start?

Plug options are set at compile time, therefore you can’t override them like that using releases.exs. If you need to change those settings at runtime see the following example for Plug.Session:

3 Likes