Merge branch 'main' into offline

This commit is contained in:
decentral1se 2021-05-27 20:34:38 +02:00
commit bd8133d88f
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A

View File

@ -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/)