Skip to content
Snippets Groups Projects
Commit 799ea671 authored by Marius Burkard's avatar Marius Burkard
Browse files

- avoid empty ip address on nginx vhost

parent 2a629844
No related branches found
No related tags found
No related merge requests found
......@@ -932,6 +932,7 @@ class nginx_plugin {
$tpl->newTemplate('nginx_vhost.conf.master');
// IPv4
if($data['new']['ip_address'] == '') $data['new']['ip_address'] = '*';
//* use ip-mapping for web-mirror
if($data['new']['ip_address'] != '*' && $conf['mirror_server_id'] > 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment