From: Grant Slater Date: Wed, 15 Mar 2023 14:02:55 +0000 (+0000) Subject: wordpress: Remove duplicate memory limit. Add ENV type X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/32c0cc98d47da81f7e893206fcb394d16da6c30c wordpress: Remove duplicate memory limit. Add ENV type --- diff --git a/cookbooks/wordpress/resources/site.rb b/cookbooks/wordpress/resources/site.rb index c0e34dcff..0fcad6509 100644 --- a/cookbooks/wordpress/resources/site.rb +++ b/cookbooks/wordpress/resources/site.rb @@ -103,7 +103,7 @@ action :create do line += "define( 'FORCE_SSL_LOGIN', true);\r\n" line += "define( 'FORCE_SSL_ADMIN', true);\r\n" line += "define( 'WP_FAIL2BAN_SITE_HEALTH_SKIP_FILTERS', true);\r\n" - line += "define( 'WP_MEMORY_LIMIT', '256M');\r\n" + line += "define( 'WP_ENVIRONMENT_TYPE', 'production');\r\n" end line