mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-12-18 23:05:07 +01:00
find and replace fixes, will introduce errors
This commit is contained in:
@@ -9,25 +9,25 @@ If you're using a small VPS to host services with very limited memory, consider
|
||||
## Installation
|
||||
|
||||
Ubuntu 1804, 2004:
|
||||
```bash
|
||||
```shell
|
||||
apt-get install apache2
|
||||
```
|
||||
|
||||
CentOS 7:
|
||||
```bash
|
||||
```shell
|
||||
yum install httpd
|
||||
```
|
||||
Centos Stream 8, Stream 9
|
||||
```bash
|
||||
```shell
|
||||
dnf install httpd
|
||||
```
|
||||
|
||||
CentOS 7, Stream 8, Stream 9
|
||||
```bash
|
||||
```shell
|
||||
systemctl enable httpd
|
||||
```
|
||||
|
||||
```bash
|
||||
```shell
|
||||
systemctl start httpd
|
||||
```
|
||||
## Configuration
|
||||
@@ -49,7 +49,7 @@ A virtual host for auth need only proxy requests to your WSGI server (Gunicorn i
|
||||
### Ubuntu
|
||||
|
||||
To proxy and modify headers a few mods need to be enabled.
|
||||
```bash
|
||||
```shell
|
||||
a2enmod proxy
|
||||
a2enmod proxy_http
|
||||
a2enmod headers
|
||||
@@ -57,7 +57,7 @@ a2enmod headers
|
||||
|
||||
Create a new config file for auth e.g. `/etc/apache2/sites-available/myauth.conf` and fill out the virtual host configuration. To enable your config use `a2ensite myauth.conf` and then reload apache with `service apache2 reload`.
|
||||
|
||||
```eval_rst
|
||||
```{eval-rst}
|
||||
.. warning::
|
||||
In some scenarios, the Apache default page is still enabled. To disable it use::
|
||||
a2dissite 000-default.conf
|
||||
|
||||
Reference in New Issue
Block a user