Jump to content
Froxlor Forum
  • 0

client_max_body_size in vhost Einstellung


Pro-Webs

Question

Posted

Hallo,

ich versuche gerade den Upload auf 300 MB zustellen, leider bricht dieser aber weiterhin bei 100 MB ab.

In PHP ist alles soweit korrekt, aber NGINX will nicht so recht.

Ich habe bei der Domain in Froxlor bei vHost Einstellungen folgendes versucht:

location / {
   client_max_body_size 300M;
}

Meine Log sagt leider aber:

2019/11/21 19:07:47 [error] 26369#26369: *3365 client intended to send too large body: 227169307 bytes, client: 2.201.238.226, server: xxx.de, request: "POST /typo3/index.php?ajaxID=%2Fajax%2Ffile%2Fprocess&ajaxToken=4ed2561cc4b8d0b6a31e708e62809809d1e52cb3 HTTP/1.1", host: "www.xxx.de", referrer: "https://www.xxx.de/typo3/index.php?M=file_FilelistList&moduleToken=3ae3e9ba6bafb9a4f6583cd5994d35f54a569eab&id=1%3A%2Fmedia%2Fcontent%2FVideos%2F"

Was ist an der Einstellung verkehrt?

Danke ;)

2 answers to this question

Recommended Posts

Posted

Hat er denn deine vHost Einstellungen auch in den erstellten vHost übernommen? Prüfe doch bitte den entsprechenden vhost - ansonsten ist das leider nur bedingt was was froxlor steuert, da musst du dich eher an nginx-orientierte foren wenden, laut doku ist das was du gemacht hast zumindest korrekt 

Posted

Du musst dazu noch "fastcgi_parm ... Upload size" dazu packen und am besten dann noch "fastcgi_read_timeout" dazu

bsp:

	location / {
....
		client_max_body_size 1000M;
....

		
	}

	location @php {
		try_files $1 =404;

...
		fastcgi_param PHP_VALUE "upload_max_filesize=1000M \n post_max_size=1000M";
	    fastcgi_read_timeout 600;
...
	}

Dann sollte es ohne probleme gehen.

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...