7 ssl_certificate /etc/ssl/certs/<%= @certificate %>.pem;
8 ssl_certificate_key /etc/ssl/private/<%= @certificate %>.key;
10 ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
11 ssl_ciphers <%= node[:ssl][:ciphers] -%>;
12 ssl_prefer_server_ciphers on;
13 ssl_session_cache shared:SSL:30m;
14 ssl_session_timeout 15m;
16 ssl_dhparam /etc/ssl/certs/dhparam.pem;
17 resolver <%= @resolvers.join(" ") %>;
19 location / { proxy_pass http://127.0.0.1; proxy_set_header X-Forwarded-For $remote_addr; }