Edit nginx configuration and look for html block.
Inside html block add following line.
http {
include conf/mime.types;
default_type application/octet-stream;
client_max_body_size 10m;
....
}
In above configuration "application/octet-stream" supports any kind of file upload.
|
Recent Posts |
Followers |
|
© 2009-2010 FunOnRailsDesigned by Woork