ℹ️ This page contains an example of a configuration file for the redirection.io agent. To discover all the configuration file and its options, please refer to the agent configuration reference. You may also check the list of configuration examples to find a configuration example that is close to your technical context.

Serve a local directory

This example uses forward.directory to return static content from /var/www/media. It is useful for static assets or simple file-serving use cases without a backend application process.