Update deployment instructions
@@ -140,6 +140,26 @@ REGISTRATION = False
|
|||||||
waitress-serve --port=5000 --call 'myriad:create_app'
|
waitress-serve --port=5000 --call 'myriad:create_app'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# 413: Request Entity Too Large (nginx)
|
||||||
|
|
||||||
|
This will most likely occur if you have uploaded a lot of images to the site. You will need to edit your nginx config to allow you to upload large files. I would run these commands from outside of the tmux window, just so I can easily access my last used myriad server commands later. Otherwise, it doesn't matter where you do this.
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo nano /etc/nginx/nginx.conf
|
||||||
|
```
|
||||||
|
|
||||||
|
Within the http section, add
|
||||||
|
|
||||||
|
```
|
||||||
|
client_max_body_size 100M;
|
||||||
|
```
|
||||||
|
|
||||||
|
Save and exit, then reload nginx.
|
||||||
|
|
||||||
|
```
|
||||||
|
nginx -s reload
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
# Config
|
# Config
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user