mirror of
https://github.com/openvk/chandler.git
synced 2024-11-15 03:31:12 +03:00
NGINX: Added a limit to size of an uploaded file
Without this, the web server would give a HTTP error 413.
This commit is contained in:
parent
42108cf922
commit
a6266c0e10
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,8 @@ server {
|
||||||
|
|
||||||
root /opt/chandler/htdocs;
|
root /opt/chandler/htdocs;
|
||||||
|
|
||||||
|
client_max_body_size 100m;
|
||||||
|
|
||||||
ssl_certificate /path/to/fullchain.pem;
|
ssl_certificate /path/to/fullchain.pem;
|
||||||
ssl_certificate_key /path/to/privkey.pem;
|
ssl_certificate_key /path/to/privkey.pem;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue