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
 
  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(/.*)?)$ fcgi://127.0.0.1:7000/usr/share/phppgadmin
 
  20         ProxyPassMatch ^/(.*\.phpx(/.*)?)$ fcgi://127.0.0.1:7000/usr/share/phppgadmin
 
  21         ProxyPassMatch ^/(.*\.phpj(/.*)?)$ fcgi://127.0.0.1:7000/usr/share/phppgadmin
 
  25         ServerName phppgadmin.dev.openstreetmap.org
 
  26         ServerAdmin webmaster@openstreetmap.org
 
  28         CustomLog /var/log/apache2/phppgadmin.dev.openstreetmap.org-access.log combined
 
  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>