Verified Commit 98fcee61 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Allow large uploads to admin upload endpoint

parent 5c3d0f0a
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -98,6 +98,13 @@ server {
			return 404;
		}

		location = /wp-admin/async-upload.php {
			client_max_body_size 128M;
			fastcgi_param PHP_VALUE "upload_max_filesize=128M \n post_max_size=128M";
			include fastcgi-script.conf;
			include cache-bust.conf;
		}

		location ~ \.php$ {
			include fastcgi-script.conf;
			include cache-bust.conf;