chore: generate sites in Caddyfile from x-ports alongside caddy.json

This commit is contained in:
Pasha Sviderski
2025-08-15 18:29:23 +10:00
parent 1ce3e62dbb
commit 455174ccb0
4 changed files with 308 additions and 48 deletions
@@ -13,7 +13,7 @@ import (
"github.com/stretchr/testify/require"
)
func TestGenerateConfig(t *testing.T) {
func TestGenerateJSONConfig(t *testing.T) {
configWithoutServices := `{
"servers": {
"http": {