summaryrefslogtreecommitdiffstats
path: root/roles/pihole/templates/pihole.nginx.conf.j2
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-07-21 14:33:55 +0200
committerAhmed Abdelhalim <[email protected]>2026-07-21 14:33:55 +0200
commit44d7056b2a069b36077b716a32adfb5b978cd898 (patch)
tree50995970f1ecac5ac8300d0216e04cadb95ca87b /roles/pihole/templates/pihole.nginx.conf.j2
parent5a677725003444d5fc02e4f754392bafaecbde2f (diff)
Fix nginx to use conventional ngix conf.d
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/;
}