lib/redirus/config.rb in redirus-0.1.1 vs lib/redirus/config.rb in redirus-0.1.2
- old
+ new
@@ -38,10 +38,11 @@
def https_template
nginx_prop :https_template, %q[listen *:443 ssl;
ssl_certificate /usr/share/ssl/certs/localhost/host.cert;
ssl_certificate_key /usr/share/ssl/certs/localhost/host.key;
+ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
]
end
def config_template
nginx_prop :config_template, %q[#{upstream}
@@ -67,6 +68,6 @@
def nginx_prop(type, default=nil)
value = @config['nginx'][type.to_s] if @config['nginx']
value || default
end
end
-end
\ No newline at end of file
+end