X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/13d93b0c9ef6c839d0ee550ded6e845a4a827fc9..a5a3b8b5d676e4e7c46f5124325d2ca799bee76f:/cookbooks/dev/templates/default/apache.phppgadmin.erb?ds=sidebyside diff --git a/cookbooks/dev/templates/default/apache.phppgadmin.erb b/cookbooks/dev/templates/default/apache.phppgadmin.erb index bf3d0b5c7..ec74a54da 100644 --- a/cookbooks/dev/templates/default/apache.phppgadmin.erb +++ b/cookbooks/dev/templates/default/apache.phppgadmin.erb @@ -1,9 +1,13 @@ # DO NOT EDIT - This file is being maintained by Chef - + ServerName phppgadmin.dev.openstreetmap.org ServerAdmin webmaster@openstreetmap.org + SSLEngine on + SSLCertificateFile /etc/ssl/certs/phppgadmin.dev.openstreetmap.org.pem + SSLCertificateKeyFile /etc/ssl/private/phppgadmin.dev.openstreetmap.org.key + CustomLog /var/log/apache2/phppgadmin.dev.openstreetmap.org-access.log combined ErrorLog /var/log/apache2/phppgadmin.dev.openstreetmap.org-error.log @@ -16,3 +20,18 @@ ProxyPassMatch ^/(.*\.phpx(/.*)?)$ fcgi://127.0.0.1:7000/usr/share/phppgadmin ProxyPassMatch ^/(.*\.phpj(/.*)?)$ fcgi://127.0.0.1:7000/usr/share/phppgadmin + + + ServerName phppgadmin.dev.openstreetmap.org + ServerAdmin webmaster@openstreetmap.org + + CustomLog /var/log/apache2/phppgadmin.dev.openstreetmap.org-access.log combined + ErrorLog /var/log/apache2/phppgadmin.dev.openstreetmap.org-error.log + + RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/ + RedirectPermanent / https://phppgadmin.dev.openstreetmap.org/ + + + + Require all granted +