- ENVIRONMENT VARIABLES
Mojolicious::Guides::Cheatsheet - Reference
This document contains a concise all-purpose reference.
Many parts of Mojolicious can be tuned with environment variables. Debug environment variables are excluded because they are for developer use only.
The path to the TLS CA authority file, should always contain a path like
/etc/tls/cacerts.pem. Note that IO::Socket::SSL must be installed for TLS support.
Chunk size used for IO operations in bytes, a bigger chunk size speeds up IO operations but will also use more memory.
Force epoll mainloop for IO operations. Note that IO::Epoll must be installed for epoll support.
Home directory for the Mojolicious application, should always contain a path like
Force kqueue mainloop for IO operations. Note that IO::KQueue must be installed for kqueue support.
Log level for the Mojolicious application, should contain a valid log level like
Maximum line size for HTTP message start lines and headers in bytes, defaults to
Maximum size in bytes for HTTP content to keep in memory, bigger content will be written to temporary files, defaults to
Maximum size for HTTP messages in bytes, defaults to
Run mode for the Mojolicious application, should contain a valid mode like
Disable IPv6 support, this might result in slightly better performance and less memory use. Note that IO::Socket::INET6 must be installed for IPv6 support.
Disable TLS support, this might result in slightly better performance and less memory use. Note that IO::Socket::SSL must be installed for TLS support.
Force poll mainloop for IO operations, this should only be used for testing since other mainloops are generally faster and scale better.
Enable Mojolicious application reloading, changes to your application will be detected automatically so you don't have to restart the server manually.
Enable reverse proxy support for Mojolicious application.
Class the Mojolicious renderer should use to find
DATA templates, defaults to
Directory for temporary files like huge uploads, by default a random platform specific temporary directory will be used.