decentral1se
4 years ago
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A
1 changed files with
22 additions and
0 deletions
-
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/) |
|
|
|