Page 1 of 1
Can't upload files larger than 100kb with SSL
Posted: Tue Apr 04, 2017 12:38 pm
by airbass
I have 2 sites on one server.
one of them uses SSL.
So I have problem - site with SSL not uploading files larger 100kb, Site without SSL - no problems.
What I need to check, please help!
Re: Can't upload files larger than 100kb with SSL
Posted: Tue Apr 04, 2017 2:46 pm
by skurudo
Please add a little more info.
> Operating System (OS/VERSION):
Type here, e.g. CentOS 6
> VestaCP Version:
Type here, e.g. 0.9.8-17
> Installed Software (what you got with the installer):
Type here, e.g. php-fpm, apache, nginx, mysql
> Steps to Reproduce:
Type here, e.g. install vesta and type cat /etc/issue
> Related Issues/Forum Threads:
Found anything that might be related to this? It might help us find the cause.
> Other Notes:
Anything else? May be logs?
Re: Can't upload files larger than 100kb with SSL
Posted: Tue Apr 04, 2017 3:15 pm
by airbass
OS: CentOS 7.2.1511
Vesta: Version:0.9.8 (x86_64) Release:17
Software: Apache, Nginx as reverse proxy, Mysql, PHP Version 5.6.26RC1, SSL Support
Steps to Reproduce: When I upload any size larger 100kb file without SSL, everything fine. Same file with SSL, no errors, file not uploaded.
Threads: don't remember, tried all from that threads with nginx & php configuration.
Re: Can't upload files larger than 100kb with SSL
Posted: Wed Apr 05, 2017 6:47 am
by skurudo
If you have normal php settings -> upload_max_filesize, then we face something entirely new
Can be it's not a server problem rather browser. Try in different (Edge/Chrome/Mozilla)
It'll useful if you check file upload process with Mozilla Developer Tool, may be there will be some clues.
Re: Can't upload files larger than 100kb with SSL
Posted: Wed Apr 05, 2017 10:09 am
by airbass
Thanks for answers. Problem was in mod_security.
Re: Can't upload files larger than 100kb with SSL
Posted: Wed Apr 05, 2017 11:27 am
by skurudo
Let me guess SecFilterEngine and SecFilterScanPOST ?