Skip to content

Commit 799ea67

Browse files
author
Marius Burkard
committed
- avoid empty ip address on nginx vhost
1 parent 2a62984 commit 799ea67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/plugins-available/nginx_plugin.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -932,6 +932,7 @@ function update($event_name, $data) {
932932
$tpl->newTemplate('nginx_vhost.conf.master');
933933

934934
// IPv4
935+
if($data['new']['ip_address'] == '') $data['new']['ip_address'] = '*';
935936

936937
//* use ip-mapping for web-mirror
937938
if($data['new']['ip_address'] != '*' && $conf['mirror_server_id'] > 0) {

0 commit comments

Comments
 (0)