installation: add apache dependencies
And also use a2ensite for a more idiomatic installation of the site. License MIT
This commit is contained in:
parent
805dd650ff
commit
07d28d51fe
|
@ -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
|
||||
-----------
|
||||
|
||||
|
|
Reference in New Issue