installation: add apache dependencies

And also use a2ensite for a more idiomatic installation of the site.

License MIT
This commit is contained in:
Loïc Dachary 2021-11-29 11:54:58 +01:00
parent 805dd650ff
commit 07d28d51fe
No known key found for this signature in database
GPG Key ID: 130A0B53C3EEB5FA
1 changed files with 9 additions and 1 deletions

View File

@ -74,7 +74,7 @@ Running Authentic 2 behind an Apache2 reverse proxy
Authentic 2 runs as an `uWSGI daemon
<https://uwsgi-docs.readthedocs.io/en/latest/>`__ 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`::
<VirtualHost *:80>
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
</VirtualHost>
And the enable it with::
$ a2ensite authentic2
It also requires modules that can be enabled as follows::
$ a2enmod proxy_http headers ssl
Quickstarts
-----------