]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/wordpress/resources/site.rb
vectortile: track osm2pgsql db age
[chef.git] / cookbooks / wordpress / resources / site.rb
index b29f95f3f0f63bd069dc96dee765be7f32c389de..52bba4ce5ae9a724f4bdab868e6b140bee303467 100644 (file)
@@ -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"