Sha256: bdcca00b036e21bcb84e1d0d3cd38234164a27c7fc5c179d7099cdbbc8762253

Contents?: true

Size: 1.32 KB

Versions: 20

Compression:

Stored size: 1.32 KB

Contents

server {
  listen       <%= @listen_ip %>:<%= @ssl_port %> ssl<% if @spdy == 'on' %> spdy<% end %><% if @listen_options %><%= @listen_options %><% end %>;
  <% if @ipv6_enable == 'true' && (defined? ipaddress6) %>
  listen [<%= @ipv6_listen_ip %>]:<%= @ipv6_listen_port %> <% if @ipv6_listen_options %><%= @ipv6_listen_options %><% end %> ipv6only=on;
  <% end %>
  server_name  <%= @rewrite_www_to_non_www ? @name.gsub(/^www\./, '') : @server_name.join(" ") %>;

  ssl on;

  ssl_certificate           <%= scope.lookupvar('nginx::params::nx_conf_dir') %>/<%= @name.gsub(' ', '_') %>.crt;
  ssl_certificate_key       <%= scope.lookupvar('nginx::params::nx_conf_dir') %>/<%= @name.gsub(' ', '_') %>.key;
  ssl_session_cache         shared:SSL:10m;
  ssl_session_timeout       5m;
  ssl_protocols             <%= @ssl_protocols %>;
  ssl_ciphers               <%= @ssl_ciphers %>;
  ssl_prefer_server_ciphers on;
<% if defined? @auth_basic -%>
  auth_basic                "<%= @auth_basic %>";
<% end -%>
<% if defined? @auth_basic_user_file -%>
  auth_basic_user_file      "<%= @auth_basic_user_file %>";
<% end -%>

  access_log            <%= scope.lookupvar('nginx::params::nx_logdir')%>/ssl-<%= @name.gsub(' ', '_') %>.access.log;
  error_log             <%= scope.lookupvar('nginx::params::nx_logdir')%>/ssl-<%= @name.gsub(' ', '_') %>.error.log;

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
freighthop-0.6.1 modules/nginx/templates/vhost/vhost_ssl_header.erb
freighthop-0.6.0 modules/nginx/templates/vhost/vhost_ssl_header.erb
freighthop-0.5.2 modules/nginx/templates/vhost/vhost_ssl_header.erb
freighthop-0.5.1 modules/nginx/templates/vhost/vhost_ssl_header.erb
freighthop-0.5.0 modules/nginx/templates/vhost/vhost_ssl_header.erb
freighthop-0.4.1 modules/nginx/templates/vhost/vhost_ssl_header.erb
freighthop-0.4.0 modules/nginx/templates/vhost/vhost_ssl_header.erb
freighthop-0.3.3 modules/nginx/templates/vhost/vhost_ssl_header.erb
freighthop-0.3.2 modules/nginx/templates/vhost/vhost_ssl_header.erb
freighthop-0.3.1 modules/nginx/templates/vhost/vhost_ssl_header.erb
freighthop-0.3.0 modules/nginx/templates/vhost/vhost_ssl_header.erb
freighthop-0.2.1 modules/nginx/templates/vhost/vhost_ssl_header.erb
freighthop-0.2.0 modules/nginx/templates/vhost/vhost_ssl_header.erb
freighthop-0.1.0 modules/nginx/templates/vhost/vhost_ssl_header.erb
freighthop-0.0.6 modules/nginx/templates/vhost/vhost_ssl_header.erb
freighthop-0.0.5 modules/nginx/templates/vhost/vhost_ssl_header.erb
freighthop-0.0.4 modules/nginx/templates/vhost/vhost_ssl_header.erb
freighthop-0.0.3 modules/nginx/templates/vhost/vhost_ssl_header.erb
freighthop-0.0.2 modules/nginx/templates/vhost/vhost_ssl_header.erb
freighthop-0.0.1 modules/nginx/templates/vhost/vhost_ssl_header.erb