]> git.openstreetmap.org Git - chef.git/blob - cookbooks/dev/templates/default/apache.phppgadmin.erb
Fix restarting of chef-client on Ubuntu 15.10 and newer
[chef.git] / cookbooks / dev / templates / default / apache.phppgadmin.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 <VirtualHost *:80>
4         ServerName phppgadmin.dev.openstreetmap.org
5         ServerAdmin webmaster@openstreetmap.org
6
7         CustomLog /var/log/apache2/phppgadmin.dev.openstreetmap.org-access.log combined
8         ErrorLog /var/log/apache2/phppgadmin.dev.openstreetmap.org-error.log
9
10         DocumentRoot /usr/share/phppgadmin
11
12         <IfModule mod_fastcgi_handler.c>
13                 <FilesMatch "\.ph(p3?|tml)$">
14                         SetHandler fcgi:/var/run/php5-fpm-default.sock
15                 </FilesMatch>
16                 <FilesMatch "\.phps$">
17                         SetHandler fcgi:/var/run/php5-fpm-default.sock
18                 </FilesMatch>
19         </IfModule>
20 </VirtualHost>