summaryrefslogtreecommitdiffstats
path: root/roles/pihole/templates/pihole.nginx.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/pihole/templates/pihole.nginx.conf.j2')
-rw-r--r--roles/pihole/templates/pihole.nginx.conf.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/pihole/templates/pihole.nginx.conf.j2 b/roles/pihole/templates/pihole.nginx.conf.j2
index 91f0fea4..7a28b821 100644
--- a/roles/pihole/templates/pihole.nginx.conf.j2
+++ b/roles/pihole/templates/pihole.nginx.conf.j2
@@ -4,6 +4,9 @@ server {
server_name {{ pihole_hostname }};
+ access_log /var/log/nginx/access.log;
+ error_log /var/log/nginx/error.log;
+
location = / {
return 301 /admin/;
}