]> gitweb.fluxo.info Git - puppet-bootstrap.git/commitdiff
Adding SNI Configuration to nginx
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 30 Jul 2012 20:14:32 +0000 (17:14 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 30 Jul 2012 20:14:32 +0000 (17:14 -0300)
templates/etc/nginx/domain.erb

index 3cddd5ba007e809a1bf616ef0b1f1cf24b35c63f..4e9fa7dcf3e4024e00f2aaa7f1c09997f1218523 100644 (file)
@@ -3,6 +3,16 @@
 # Set the max size for file uploads
 client_max_body_size 100M;
 
+# SNI Configuration
+server {
+  listen              443 default;
+  server_name         _;
+  ssl                 on;
+  ssl_certificate     /etc/ssl/certs/blank.crt;
+  ssl_certificate_key /etc/ssl/private/blank.pem;
+  return              403;
+}
+
 server {
   # see config tips at
   # http://blog.taragana.com/index.php/archive/nginx-hacking-tips/