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