logging to caddyfile
This commit is contained in:
2
caddy.py
2
caddy.py
@@ -9,7 +9,7 @@ def build_caddyfile():
|
|||||||
for domain, port in map(itemgetter("domain", "port"), by_branch.values()):
|
for domain, port in map(itemgetter("domain", "port"), by_branch.values()):
|
||||||
if domain in excluded:
|
if domain in excluded:
|
||||||
continue
|
continue
|
||||||
|
print(f"adding {domain} -> {port} to Caddyfile")
|
||||||
entry = f"""
|
entry = f"""
|
||||||
{domain}.drm.dev {{
|
{domain}.drm.dev {{
|
||||||
reverse_proxy localhost:{port}
|
reverse_proxy localhost:{port}
|
||||||
|
|||||||
Reference in New Issue
Block a user