]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/wordpress/recipes/default.rb
Respond with 429 to abusive "ping" requests
[chef.git] / cookbooks / wordpress / recipes / default.rb
index 8a48e8863d8e46646808e4ebe08ed364c2502151..73f6f353e4303f32974dcdba471bfa66e99c04fa 100644 (file)
@@ -1,8 +1,8 @@
 #
-# Cookbook Name:: wordpress
+# Cookbook:: wordpress
 # Recipe:: default
 #
-# Copyright 2013, OpenStreetMap Foundation
+# Copyright:: 2013, OpenStreetMap Foundation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # limitations under the License.
 #
 
+include_recipe "accounts"
 include_recipe "apache"
+include_recipe "fail2ban"
+include_recipe "git"
 include_recipe "mysql"
+include_recipe "php::fpm"
 
 package %w[
   subversion
-  php
   php-mysql
 ]
 
-apache_module "php7.2"
+apache_module "proxy"
+apache_module "proxy_fcgi"
 apache_module "rewrite"
 
 fail2ban_filter "wordpress" do