Merge branch 'main' into offline
This commit is contained in:
commit
bd8133d88f
22
README.md
22
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/)
|
||||
|
Loading…
Reference in New Issue
Block a user