1 # DO NOT EDIT - This file is being maintained by Chef
4 ServerName phppgadmin.dev.openstreetmap.org
5 ServerAdmin webmaster@openstreetmap.org
8 SSLCertificateFile /etc/ssl/certs/phppgadmin.dev.openstreetmap.org.pem
9 SSLCertificateKeyFile /etc/ssl/private/phppgadmin.dev.openstreetmap.org.key
11 CustomLog /var/log/apache2/phppgadmin.dev.openstreetmap.org-access.log combined_extended
12 ErrorLog /var/log/apache2/phppgadmin.dev.openstreetmap.org-error.log
14 DocumentRoot /usr/share/phppgadmin
16 # Remove Proxy request header to mitigate https://httpoxy.org/
17 RequestHeader unset Proxy early
19 ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:/run/php/php-default-fpm.sock|fcgi://127.0.0.1
20 ProxyPassMatch ^/(.*\.phpx(/.*)?)$ unix:/run/php/php-default-fpm.sock|fcgi://127.0.0.1
21 ProxyPassMatch ^/(.*\.phpj(/.*)?)$ unix:/run/php/php-default-fpm.sock|fcgi://127.0.0.1
25 ServerName phppgadmin.dev.openstreetmap.org
26 ServerAdmin webmaster@openstreetmap.org
28 CustomLog /var/log/apache2/phppgadmin.dev.openstreetmap.org-access.log combined_extended
29 ErrorLog /var/log/apache2/phppgadmin.dev.openstreetmap.org-error.log
31 RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
32 RedirectPermanent / https://phppgadmin.dev.openstreetmap.org/
35 <Directory /usr/share/phppgadmin>