mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
docs(readme) mv client_max_body_size to server section
This commit is contained in:
parent
0168f9fe6f
commit
6b8bffebdf
1 changed files with 1 additions and 7 deletions
|
|
@ -230,6 +230,7 @@ Than make host file **/etc/nginx/sites-enabled/io.cloudcmd.io**
|
|||
```sh
|
||||
server {
|
||||
listen 80;
|
||||
client_max_body_size 100m;
|
||||
server_name io.cloudcmd.io;
|
||||
access_log /var/log/nginx/io.cloudcmd.io.access.log;
|
||||
location / {
|
||||
|
|
@ -245,13 +246,6 @@ ln -s ./sites-enabled/io.cloudcmd.io ./sites-available
|
|||
/etc/init.d/nginx restart
|
||||
```
|
||||
|
||||
If you will want to upload files, you should add next line in **http** section of **/etc/nginx/nginx.conf**:
|
||||
|
||||
```
|
||||
#limit of uploading data
|
||||
client_max_body_size 100m;
|
||||
```
|
||||
|
||||
To run Cloud Commander as daemon in linux you could set **log** to true in config and
|
||||
do something like this:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue