Skip to content

Commit a5cde2e

Browse files
author
Kristan Kenney
committed
Ensure Apache2 only loads .conf files from conf.d dir
Resolves hestiacp#878. Nginx already set to use *.conf by default, *.inc files for phpmyadmin/phppgadmin are in other template files and explicitly called.
1 parent 4c5ffc7 commit a5cde2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/deb/apache2/apache2.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ LogFormat "%{Referer}i -> %U" referer
8080
LogFormat "%{User-agent}i" agent
8181
LogFormat "%b" bytes
8282

83-
Include conf.d/
83+
Include conf.d/*.conf
8484
IncludeOptional conf.d/domains/*.conf
8585

8686
# Include the virtual host configurations:

0 commit comments

Comments
 (0)