roles/nginx: Add index to vhost config

Without this, all requests to directory URIs throw 403 errors due
to directory listings not being allowed.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2014-08-28 12:27:24 +03:00
parent 03d0288a78
commit fafd475f6b
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@ server {
server_name {{ domain_name }} {{ domain_aliases }};
index index.php index.html;
access_log /var/log/nginx/{{ domain_name }}-access.log;
error_log /var/log/nginx/{{ domain_name }}-error.log;