diff --git a/docs/installation/auth/apache.md b/docs/installation/auth/apache.md index da87f6aa..56aa5a55 100644 --- a/docs/installation/auth/apache.md +++ b/docs/installation/auth/apache.md @@ -5,6 +5,8 @@ AllianceAuth gets served using a Web Server Gateway Interface (WSGI) script. Thi In the interest of ~~laziness~~ time-efficiency, scroll down for example configs. Use these, changing the ServerName to your domain name. +If you're using a small VPS to host services with very limited memory resources, consider using NGINX with [Gunicorn](gunicorn.md). Even if you would like to use Apache, Gunicorn may give you lower memory usage over mod_wsgi. + ### Required Parameters for AllianceAuth Core The AllianceAuth core requires the following parameters to be set: @@ -52,6 +54,31 @@ You can supply your own SSL certificates if you so desire. The alternative is ru ## Sample Config Files +### Minimally functional config + +``` + + ServerName example.com + ServerAdmin webmaster@localhost + + DocumentRoot /var/www + + WSGIDaemonProcess allianceauth python-path=/home/allianceserver/allianceauth + WSGIProcessGroup allianceauth + WSGIScriptAlias / /home/allianceserver/allianceauth/alliance_auth/wsgi.py + + Alias /static/ /home/allianceserver/allianceauth/static/ + + + Require all granted + + + + Require all granted + + +``` + ### Own SSL Cert - Apache 2.4 or newer: - [000-default.conf](http://pastebin.com/3LLzyNmV)