diff --git a/layersbox b/layersbox index 31a4b0a..02bc6ee 100755 --- a/layersbox +++ b/layersbox @@ -564,7 +564,7 @@ def update_adapter(config, service_directory, service_name): # parse nginx.conf of all services to get a list of all proxied containers #TODO: make sure to only read URLs after a "proxy_pass" with open(join(service_directory, service_name, "nginx.conf")) as f: - for w in re.findall('(https?:\/\/[A-Za-z0-9.]+)',f.read()): + for w in re.findall('(https?:\/\/[A-Za-z0-9.\-]+)',f.read()): proxied_servers.append(w.replace('http://', '')) # now get the IPs of the proxied containers