]> git.openstreetmap.org Git - chef.git/blob - cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb
Add support for managing apache configuration fragments
[chef.git] / cookbooks / tilecache / templates / default / nginx_tile_ssl.conf.erb
1 server {
2     listen       443 ssl spdy;
3     server_name  localhost;
4
5     proxy_buffers 8 64k;
6
7     ssl_certificate      /etc/ssl/certs/<%= @certificate %>.pem;
8     ssl_certificate_key  /etc/ssl/private/<%= @certificate %>.key;
9
10     ssl_protocols TLSv1 TLSv1.1 TLSv1.2 SSLv3;
11     ssl_ciphers aRSA+HIGH:+kEDH:+kRSA:!kSRP:!kPSK:+3DES:!MD5;
12     ssl_prefer_server_ciphers on;
13     ssl_session_cache shared:SSL:30m;
14     ssl_session_timeout 15m;
15     ssl_stapling on;
16     resolver <%= node[:networking][:nameservers].join(" ") %>;
17
18     location / { proxy_pass http://127.0.0.1; proxy_set_header X-Forwarded-For $remote_addr; }
19
20 }