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:
parent
03d0288a78
commit
fafd475f6b
@ -8,6 +8,8 @@ server {
|
|||||||
|
|
||||||
server_name {{ domain_name }} {{ domain_aliases }};
|
server_name {{ domain_name }} {{ domain_aliases }};
|
||||||
|
|
||||||
|
index index.php index.html;
|
||||||
|
|
||||||
access_log /var/log/nginx/{{ domain_name }}-access.log;
|
access_log /var/log/nginx/{{ domain_name }}-access.log;
|
||||||
error_log /var/log/nginx/{{ domain_name }}-error.log;
|
error_log /var/log/nginx/{{ domain_name }}-error.log;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user