# limitations under the License.
#
+node.default[:ssl][:certificates] = node[:ssl][:certificates] | ["openstreetmap"]
+
include_recipe "apache::ssl"
include_recipe "mysql"
include_recipe "git"
group "donate"
end
+directory "/srv/donate.openstreetmap.org/data" do
+ owner "donate"
+ group "donate"
+ mode 0o755
+end
+
apache_site "donate.openstreetmap.org" do
template "apache.erb"
end
# Enable SSL
#
SSLEngine on
+ SSLCertificateFile /etc/ssl/certs/openstreetmap.pem
+ SSLCertificateKeyFile /etc/ssl/private/openstreetmap.key
+ SSLCertificateChainFile /etc/ssl/certs/rapidssl.pem
# HSTS (mod_headers is required)
Header always set Strict-Transport-Security "max-age=300"