diff options
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/ |