From 079c12a72e78dedc8e5b5d0682fe0fe12855537a Mon Sep 17 00:00:00 2001 From: colcrunch Date: Thu, 7 Sep 2023 07:11:05 -0400 Subject: [PATCH] Remove CentOS heading and add notes about the differing config methods to the relevant lines in the install section. --- docs/installation/nginx.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/docs/installation/nginx.md b/docs/installation/nginx.md index a79a86ae..c47af9d1 100644 --- a/docs/installation/nginx.md +++ b/docs/installation/nginx.md @@ -44,7 +44,7 @@ You will need to have [Gunicorn](gunicorn.md) or some other WSGI server setup fo ## Install -Ubuntu 1804, 2004. 2204: +Ubuntu 1804, 2004, 2204: ```bash sudo apt-get install nginx ``` @@ -59,18 +59,13 @@ CentOS Stream 8, Stream 9: 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 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 Copy this basic config into your config file. Make whatever changes you feel are necessary.