Welcome! Log In Create A New Profile

Advanced

Files over ~5.5.MB not uploaded only over SSL

January 24, 2017 05:31AM
Hello,

I had a server set up on http, however I wanted to secure it so changed this to https and enabled ssl on port 443. However, this has caused an issue whereby I can no longer upload files larger than ~5.5MB if SSL is enabled. If I remove nginx and let Sails do the upload over SSL it works fine. If I enable nginx but disable SSL, the upload works fine.

I have used the directive client_max_body_size 0; throughout http, server, and location, however this has made no impact.

Are there any other things that I should check? Links to my nginx.conf and sites-available\default file below:

http://www.filedropper.com/default_11
http://www.filedropper.com/nginx_1

Any help would be much appreciated.

Thanks in advance.
Subject Author Posted

Files over ~5.5.MB not uploaded only over SSL

iHoody January 24, 2017 05:31AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 195
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready