mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 20:40:17 +02:00
Remove CentOS heading and add notes about the differing config methods to the relevant lines in the install section.
This commit is contained in:
parent
36b3077caa
commit
079c12a72e
@ -44,7 +44,7 @@ You will need to have [Gunicorn](gunicorn.md) or some other WSGI server setup fo
|
|||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
Ubuntu 1804, 2004. 2204:
|
Ubuntu 1804, 2004, 2204:
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get install nginx
|
sudo apt-get install nginx
|
||||||
```
|
```
|
||||||
@ -59,18 +59,13 @@ CentOS Stream 8, Stream 9:
|
|||||||
sudo dnf install nginx
|
sudo dnf install nginx
|
||||||
```
|
```
|
||||||
|
|
||||||
Create a config file in `/etc/nginx/sites-available` and call it `alliance-auth.conf` or whatever your preferred name is.
|
Create a config file in `/etc/nginx/sites-available` (`/etc/nginx/conf.d` on CentOS) and call it `alliance-auth.conf` or whatever your preferred name is.
|
||||||
|
|
||||||
Create a symbolic link to enable the site
|
Create a symbolic link to enable the site (not needed on CentOS):
|
||||||
```bash
|
```bash
|
||||||
ln -s /etc/nginx/sites-available/alliance-auth.conf /etc/nginx/sites-enabled/
|
ln -s /etc/nginx/sites-available/alliance-auth.conf /etc/nginx/sites-enabled/
|
||||||
```
|
```
|
||||||
|
|
||||||
### CentOS
|
|
||||||
|
|
||||||
Create a config file in `/etc/nginx/conf.d` and call it `alliance-auth.conf` or whatever your preferred name is.
|
|
||||||
|
|
||||||
|
|
||||||
### Basic config
|
### Basic config
|
||||||
|
|
||||||
Copy this basic config into your config file. Make whatever changes you feel are necessary.
|
Copy this basic config into your config file. Make whatever changes you feel are necessary.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user