From 07d28d51fe02ff1b60fbd55947c03e13058d06e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Dachary?= Date: Mon, 29 Nov 2021 11:54:58 +0100 Subject: [PATCH] installation: add apache dependencies And also use a2ensite for a more idiomatic installation of the site. License MIT --- installation.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/installation.rst b/installation.rst index 269093b..f4d12a0 100644 --- a/installation.rst +++ b/installation.rst @@ -74,7 +74,7 @@ Running Authentic 2 behind an Apache2 reverse proxy Authentic 2 runs as an `uWSGI daemon `__ and can be configured as a backend for an Apache2 reverse proxy by adding -the following example to `/etc/apache2/sites-enabled/authentic2.conf`:: +the following example to `/etc/apache2/sites-available/authentic2.conf`:: ServerName idp.example.com @@ -112,6 +112,14 @@ the following example to `/etc/apache2/sites-enabled/authentic2.conf`:: CustomLog ${APACHE_LOG_DIR}/idp.example.com-access.log combined +And the enable it with:: + + $ a2ensite authentic2 + +It also requires modules that can be enabled as follows:: + + $ a2enmod proxy_http headers ssl + Quickstarts -----------