From 6b8bffebdfd34797550d4d6faa61fb05ce66fa79 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 8 Oct 2013 16:04:24 +0300 Subject: [PATCH] docs(readme) mv client_max_body_size to server section --- README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index 7bb0dee2..19576514 100644 --- a/README.md +++ b/README.md @@ -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: