setup default nginx ssl/security configuration for vagrant

This commit is contained in:
Jan Dittberner 2015-10-04 19:32:42 +02:00
parent 18ae1e15f4
commit 3c6b779c44
6 changed files with 103 additions and 7 deletions

View file

@ -0,0 +1,19 @@
# Security - Basic configuration
location = /favicon.ico {
log_not_found off;
access_log off;
expires max;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
# Deny access to hidden files
location ~ /\. {
deny all;
access_log off;
log_not_found off;
}