!LOCAL Increase request timeout to 600 seconds
This commit is contained in:
		@@ -71,10 +71,10 @@ http {
 | 
			
		||||
        # and include that list explicitly or add the file extension
 | 
			
		||||
        # only for Nextcloud like below:
 | 
			
		||||
        include mime.types;
 | 
			
		||||
        #types {
 | 
			
		||||
        #    text/javascript js mjs;
 | 
			
		||||
        #    application/wasm wasm;
 | 
			
		||||
        #}
 | 
			
		||||
        types {
 | 
			
		||||
            text/javascript js mjs;
 | 
			
		||||
            application/wasm wasm;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        # Specify how to handle directories -- specifying `/index.php$request_uri`
 | 
			
		||||
        # here as the fallback means that Nginx always exhibits the desired behaviour
 | 
			
		||||
@@ -154,6 +154,7 @@ http {
 | 
			
		||||
            fastcgi_request_buffering off;
 | 
			
		||||
 | 
			
		||||
            fastcgi_max_temp_file_size 0;
 | 
			
		||||
            fastcgi_read_timeout 600;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        # Serve static files
 | 
			
		||||
 
 | 
			
		||||
@@ -854,6 +854,10 @@ file_uploads = On
 | 
			
		||||
; https://php.net/upload-max-filesize
 | 
			
		||||
upload_max_filesize = 10G
 | 
			
		||||
 | 
			
		||||
; Max timeout for the server
 | 
			
		||||
; https://help.nextcloud.com/t/504-gateway-timeout-for-large-file-uploads/87839
 | 
			
		||||
request_terminate_timeout = 600
 | 
			
		||||
 | 
			
		||||
; Maximum number of files that can be uploaded via a single request
 | 
			
		||||
max_file_uploads = 20
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user