Cogzidel Technologies works for UK’s top dating website and we recently upgrade their Boonex Dolphin to 7.1 and also migrated to a new server.

The server runs on Nginx Webserver and my dev team faced a strange issue. The website allows the users to upload music or video files up to 2MB in size and nothing more than that 😦

We got “Upload error 413” as the error message.

Are you curious to know how we resolved the issue?

Here is the step by step instruction how to resolve the error message.

(i) Login as root in your SSH

(ii) #vi /etc/nginx/nginx.conf (open nginx configuration file)

(iii) Add the below line in nginx configuration file in http sector

“client_max_body_size 15M;”

(iv)Save the file by pressing esc :wq

(v) Then Press Enter

(vi) Type service nginx restart to restart the nginx service!

(vii) That’s it 🙂 !! Now nginx allow you to upload any MP3 / Video files up to 15 MB.

(viii) You can change the 15M to whatever size you want

See the below image for your reference.

Upload-error-413-nginx

About the Author ksawme

CTO is my profession & Entrepreneurship is my passion... Fortunately, thanks to my CEO & childhood friend Anand Nataraj, I am onto my second stint of entrepreneurship & added to the beauty, I am paid for it!! So per Anand's word, I am an Interpreneur!! And we @ Cogzidel, are here to make a MARK!! in the IT Arena! On personal front, I am a Happy go lucky guy with a lovely, caring wife & cute little daughter. & I have strong interest in photography, blogging & meeting new people personally & virtually :)

2 comments

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s