From 44d7056b2a069b36077b716a32adfb5b978cd898 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Tue, 21 Jul 2026 14:33:55 +0200 Subject: Fix nginx to use conventional ngix conf.d --- roles/nginx/templates/nginx.conf.j2 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'roles/nginx/templates') diff --git a/roles/nginx/templates/nginx.conf.j2 b/roles/nginx/templates/nginx.conf.j2 index 1ebbe3df..518a8398 100644 --- a/roles/nginx/templates/nginx.conf.j2 +++ b/roles/nginx/templates/nginx.conf.j2 @@ -43,8 +43,6 @@ http { listen [::]:80 default_server; server_name {{ nginx_server_name }}; - - include /etc/nginx/conf.d/*.conf; } {% else %} # HTTP server - redirect to HTTPS @@ -73,9 +71,7 @@ http { add_header X-Content-Type-Options nosniff always; add_header X-Frame-Options DENY always; - - include /etc/nginx/conf.d/*.conf; } - include /etc/nginx/vhosts.d/*.conf; + include /etc/nginx/conf.d/*.conf; } -- cgit v1.2.3