This commit is contained in:
Maurice
2025-09-29 20:26:32 +02:00
parent 3d6fa064ae
commit 5491663d86
5 changed files with 8 additions and 16 deletions

View File

@@ -1 +0,0 @@
*.caddy

View File

@@ -1,11 +0,0 @@
{
"description": "Allow incoming http (TCP 80 & 443) ports",
"filter": [
{
"in": "WAN",
"out": "_fw",
"service": ["http", "https"],
"action": "accept"
}
]
}

View File

@@ -1,8 +1,5 @@
#!/bin/sh
# Symlink config files in base dir
find "$base_dir" -name "*.caddy" -exec ln -sf {} "./config" \;
# Symlink config dir
mkdir -p /home/podman/caddy
ln -sf ./config /home/podman/caddy
ln -sf ./Caddyfile /home/podman/caddy/Caddyfile