Make release directory used by Puma configurable via env variable.
This allows running FeedBunch in a different directory than the default.
View ArticleLocation where puma writes logs is now configurable via env variables
The default if the STDOUT_FILE, STDERR_FILE variables are not set is the same as before.
View ArticleThe FORCE_SSL env variable can make the app secure.
The app is secure by default, if FORCE_SSL is not set. This toggles the force_ssl rails flag, which among other things makes TLS mandatory, marks cookies as secure-only and enables HSTS. Generally...
View ArticleUse FORCE_SECURE env var instead of FORCE_SSL to force secure behavior
It not only forces the use of SSL but also HSTS and secure cookies.
View ArticleCorrectly use the FORCE_SECURE env variable
Env vars are strings, not booleans. Convert to boolean before actually using the value in code.
View ArticleControl log level in production with the FEEDBUNCH_LOG_LEVEL env var
It takes the value "warn" by default.
View Article
More Pages to Explore .....