X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/cf4186880853ccf48cf9938df39687f671a018b9..b05327977edf4a5fe12eae584413c29460db5d57:/cookbooks/wordpress/resources/site.rb diff --git a/cookbooks/wordpress/resources/site.rb b/cookbooks/wordpress/resources/site.rb index b29f95f3f..e4096614f 100644 --- a/cookbooks/wordpress/resources/site.rb +++ b/cookbooks/wordpress/resources/site.rb @@ -101,6 +101,8 @@ action :create do line += "/**\r\n" line += " * Don't allow file editing.\r\n" line += " */\r\n" + line += "define( 'WP_HOME', 'https://#{new_resource.site}');\r\n" + line += "define( 'WP_SITEURL', 'https://#{new_resource.site}');\r\n" line += "define( 'DISALLOW_FILE_EDIT', true);\r\n" line += "define( 'DISALLOW_FILE_MODS', true);\r\n" line += "define( 'AUTOMATIC_UPDATER_DISABLED', true);\r\n" @@ -190,6 +192,7 @@ action :create do wordpress_plugin "wp-fail2ban" do site new_resource.site + version "5.1.1" reload_apache false end