Comment to uploading images into new album
-
more nginx setup:
########################################################################### ## Client Timeout Settings ########################################################################### client_max_body_size 4096M; # Timeout for receiving request body from the client client_body_timeout 300; # Timeout for receiving request headers from the client client_header_timeout 300; # Keep connection alive for reuse keepalive_timeout 300; # Timeout for transmitting response to the client send_timeout 300; # Reset lingering timed-out connections (helps prevent DDoS) reset_timedout_connection on; ########################################################################### ## Proxy Timeout Settings ########################################################################### proxy_connect_timeout 300; proxy_send_timeout 300; proxy_read_timeout 300; ########################################################################### ## PHP-FPM Settings ########################################################################### location ~ \.php$ { # Use PHP-FPM Unix socket instead of TCP port fastcgi_pass unix:/run/php/php8.4-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; # Timeouts fastcgi_connect_timeout 300; fastcgi_send_timeout 300; fastcgi_read_timeout 300; # Buffers fastcgi_buffer_size 128k; fastcgi_buffers 8 256k; fastcgi_busy_buffers_size 512k; fastcgi_temp_file_write_size 512k; # Improve performance for large uploads or scripts fastcgi_request_buffering off; }