From d2bf28166f32380b30390848b20b9c53a99a7dad Mon Sep 17 00:00:00 2001 From: decentral1se Date: Thu, 27 May 2021 20:34:24 +0200 Subject: [PATCH] More sysadmin docs --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index e121015..4fc0745 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,28 @@ server { } ``` +You will also need to include the following in the `/etc/nginx/nginx.conf`: + +``` +client_max_body_size 100M; +``` + +And you'll need to create user accounts and hand out the right permissions too: + +``` +$ useradd -m voicegardens -s /bin/bash +$ usermod -a -G sudo voicegardens +$ usermod -a -G www-data voicegardens +$ chgrp www-data /var/www/voicegardens.org/voicegardens/archive/ +$ chmod g+rwxs /var/www/offline.voicegardens.org/voicegardens/archive/ +``` + +And the following in the `/etc/sudoers` file also: + +``` +voicegardens ALL=(ALL) NOPASSWD: ALL +``` + ## Layers of the Onion - [Flask](http://flask.palletsprojects.com/en/1.1.x/)