Welcome! Log In Create A New Profile

Advanced

Files over ~5.5.MB not uploaded only over SSL

Posted by iHoody 
Files over ~5.5.MB not uploaded only over SSL
January 24, 2017 04:46AM
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? Attached are my nginx.conf and sites-available\default files.

Any help would be much appreciated.

Thanks in advance.
Attachments:
open | download - default.txt (1.4 KB)
open | download - nginx.txt (618 bytes)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 147
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