Hi all, I have something I can't get my head around. I'm running the perfect Centos server setup (only 6.6 centos) with nGinx. I needed to upload a file from about 6 MB in my Joomla system and got the message; Code: 413 Request Entity Too Large Fair warning so I added the following to the nginx directives for this site. Code: location / { try_files $uri $uri/ /index.php?$args; client_max_body_size 100M; fastcgi_buffer_size 128k; fastcgi_buffers 256 4k; fastcgi_busy_buffers_size 256k; fastcgi_temp_file_write_size 256k; fastcgi_read_timeout 240; } The following to the PHP directives. Code: upload_max_filesize = 100M; post_max_size = 125M; Please note the actual Joomla is running in a subfolder called joomla so location set as / and /joomla/ are both tested. This above directive does not solve the issue. I checked the php.ini and that was set to; Code: upload_max_filesize = 100M; post_max_size = 125M; The mail nginx.conf was also checked where I found Code: http { ## Detect when HTTPS is used #map $scheme $https { # default off; # https on; #} map $http_x_forwarded_proto $fastcgi_https { default ''; https on; client_max_body_size 100M; } All seems to be set OK but still not able to upload a big file Once I added (manually) Code: client_max_body_size 100M; in the server part of the vhost file of this website, I could upload a bigger file. As soon a I change anything in the website setting and save it via ispconfig, this line is removed again and it will stop working. I have version 1.62 of nginx running on the server. Could that be the problem? Please help me out. I have a workaround as mentioned above but this is not the way to do this. Regards, Ralph
add: client_max_body_size 100M; in the apache directives field of the website, outside of a location.
I added this a will try. If this is not added at all and only set in php.ini and nginx.conf, it should use that as the default? Because now I have to add it for every website running here. OR can I add this to the default vhost template? Edit: Works like a charm. Thanks for the lightning fast reply again Till! Was not aware I could add anything outside a location