]> git.openstreetmap.org Git - chef.git/blob - cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb
tilecache: tweak scraper regex
[chef.git] / cookbooks / tilecache / templates / default / nginx_tile_ssl.conf.erb
1 server {
2     listen       443 ssl;
3     server_name  localhost;
4
5     ssl_certificate      /etc/ssl/certs/tile.openstreetmap.pem;
6     ssl_certificate_key  /etc/ssl/private/tile.openstreetmap.key;
7
8     ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
9     ssl_ciphers ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!AESGCM;
10     ssl_prefer_server_ciphers on;
11     ssl_session_cache shared:SSL:10m;
12     ssl_session_timeout 10m;
13
14     location / { proxy_pass http://127.0.0.1; proxy_set_header X-Forwarded-For $remote_addr; }
15
16 }