diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-07-30 17:14:32 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-07-30 17:14:32 -0300 |
commit | 87e4f9df64eccca0dccc8c27252b03d5591c148b (patch) | |
tree | f8ebccbe452ad5290a99dd20485a380b133d6ae9 /templates/etc/nginx | |
parent | fd5241b13a279812c6f993cdd115c94359d29b3e (diff) | |
download | puppet-bootstrap-87e4f9df64eccca0dccc8c27252b03d5591c148b.tar.gz puppet-bootstrap-87e4f9df64eccca0dccc8c27252b03d5591c148b.tar.bz2 |
Adding SNI Configuration to nginx
Diffstat (limited to 'templates/etc/nginx')
-rw-r--r-- | templates/etc/nginx/domain.erb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/etc/nginx/domain.erb b/templates/etc/nginx/domain.erb index 3cddd5b..4e9fa7d 100644 --- a/templates/etc/nginx/domain.erb +++ b/templates/etc/nginx/domain.erb @@ -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/ |