docker-example/apache-module/README.md at master · redirectionio/docker-example

Latest commit

Using the redirection.io Apache module in a Docker environment

We distribute our Apache module as Debian/Ubuntu or Red Hat packages, which are available in our repositories.

This example shows how to use the pre-compiled redirection.io Apache module provided in our repositories in a Docker environment.

Description

The service directory contains two services:

  • apache: an Apache Dockerfile based on the Ubuntu 24.04 image, with Apache and the redirection.io Apache module installed from our apt repository
  • redirectionio-agent: a simple Dockerfile to get the agent running

The redirection.io apache module

apache

This is a standard Ubuntu 24.04 image, with the distribution-provided apache2 package, and libapache2-mod-redirectionio installed from our deb repository, as explained in our documentation.

It defines a single VirtualHost, for which redirection is enabled.

redirectionio-agent

The agent is installed using our manual installation instructions. Note that we have enabled a /var/lib/redirectionio volume, used to store redirection.io agent's cache data.