Skip to content

Commit 09297a7

Browse files
committed
- Changed Fedora installer to allow only vhost configuration files with the extension .vhost.
1 parent 68c5cce commit 09297a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/dist/lib/fedora.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ public function configure_nginx(){
581581
exec('mkdir -p '.$conf['nginx']['vhost_conf_enabled_dir']);
582582
exec('mkdir -p '.$conf['nginx']['vhost_conf_dir']);
583583

584-
wf('/etc/nginx/conf.d/ispconfig_vhosts.conf',"include /etc/nginx/sites-enabled/*;");
584+
wf('/etc/nginx/conf.d/ispconfig_vhosts.conf',"include /etc/nginx/sites-enabled/*.vhost;");
585585

586586
//* make sure that webalizer finds its config file when it is directly in /etc
587587
if(@is_file('/etc/webalizer.conf') && !@is_dir('/etc/webalizer')) {

0 commit comments

Comments
 (0)