Ver Fonte

Ensure Apache2 only loads .conf files from conf.d dir

Resolves #878.
Nginx already set to use *.conf by default, *.inc files for phpmyadmin/phppgadmin are in other template files and explicitly called.
Kristan Kenney há 5 anos atrás
pai
commit
a5cde2ea74
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      install/deb/apache2/apache2.conf

+ 1 - 1
install/deb/apache2/apache2.conf

@@ -80,7 +80,7 @@ LogFormat "%{Referer}i -> %U" referer
 LogFormat "%{User-agent}i" agent
 LogFormat "%{User-agent}i" agent
 LogFormat "%b" bytes
 LogFormat "%b" bytes
 
 
-Include conf.d/
+Include conf.d/*.conf
 IncludeOptional conf.d/domains/*.conf
 IncludeOptional conf.d/domains/*.conf
 
 
 # Include the virtual host configurations:
 # Include the virtual host configurations: