]> git.openstreetmap.org Git - chef.git/blob - cookbooks/chef/templates/default/apache.erb
Switch chef back to using https for the internal forward
[chef.git] / cookbooks / chef / templates / default / apache.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 <VirtualHost *:80>
4         ServerName chef.openstreetmap.org
5         ServerAlias chef.osm.org
6         ServerAdmin webmaster@openstreetmap.org
7
8         CustomLog /var/log/apache2/chef.openstreetmap.org-access.log combined
9         ErrorLog /var/log/apache2/chef.openstreetmap.org-error.log
10
11         Redirect permanent / https://chef.openstreetmap.org/
12 </VirtualHost>
13
14 <VirtualHost *:443>
15         ServerName chef.openstreetmap.org
16         ServerAdmin webmaster@openstreetmap.org
17
18         SSLEngine on
19         SSLProtocol all -SSLv2
20         SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
21         SSLCertificateFile /etc/ssl/certs/openstreetmap.pem
22         SSLCertificateKeyFile /etc/ssl/private/openstreetmap.key
23
24         CustomLog /var/log/apache2/chef.openstreetmap.org-access.log combined
25         ErrorLog /var/log/apache2/chef.openstreetmap.org-error.log
26
27         SSLProxyEngine on
28
29         ProxyPass / https://<%= node[:fqdn] %>:4443/
30 </VirtualHost>