Quote:
|
Originally Posted by keyman
where is this file loaction?
|
Where is nginx installed to? Usually the main configuration file would be in
/usr/local/nginx/conf/nginx.conf
if you don't have any special configuration when it was installed. You should be able to find something like this in your configuration file:
Code:
http {
include conf/mime.types;
default_type application/octet-stream;
...
}
Put the client_max_body_size there somewhere, for example
Code:
http {
include conf/mime.types;
default_type application/octet-stream;
client_max_body_size 10m;
....
}
It will allow maximum 10m upload.
Is your site a PHP or a Ruby on Rails site? I have also recently tested nginx, and found it much faster than Apache and more configurable than lighttpd.
Scott