Uploads only up to 1M possible

developr

Active member
Hi Community,

after a Serverchange I can upload files only up to 1M.

In php.ini I set
upload_max_filesize = 100M
post_max_size = 100M

I use Nginx as webserver.

Here I also set 102400
admin.php?options/groups/attachments/

XF2.0

Are there more options?

191021

After the Upload there are no errors. No errors in the serverlog. The filename looks like big-file-filename.png after upload.
 
Last edited:
I fixed it in nginx.conf

NGINX:
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_requests 2000;
types_hash_max_size 2048;
ignore_invalid_headers   on;
reset_timedout_connection on;
server_name_in_redirect  off;
server_names_hash_max_size 1024;
server_tokens    off;
keepalive_timeout 120;
proxy_send_timeout  300;
fastcgi_connect_timeout 300s;
fastcgi_send_timeout 300s;
fastcgi_read_timeout 300s;
proxy_connect_timeout 300s;
proxy_read_timeout 300s;
client_header_timeout 300s;
client_max_body_size 200m;
client_body_timeout 300s;
send_timeout 300s;
client_header_buffer_size 32k;
client_body_buffer_size 1m;
large_client_header_buffers 64 8k;
open_file_cache max=5000 inactive=60s;
open_file_cache_valid    60s;
open_file_cache_min_uses 2;
open_file_cache_errors   on;
output_buffers   10 128k;
postpone_output  1500;
 
Back
Top Bottom