Multiple changes to fix routing

This commit is contained in:
2025-01-24 10:45:22 +00:00
parent 005ac905fa
commit 7b0e267a58
2 changed files with 10 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
}
route /repo/* {
reverse_proxy localhost:1212
reverse_proxy repo-placeholder:80
}
}

View File

@@ -22,11 +22,19 @@ services:
volumes:
- caddy_data:/data
- ./caddy:/etc/caddy
- ./var/www/html/repo:/repo
restart: unless-stopped
labels:
- "io.containers.autoupdate=registry"
repo-placeholder:
image: docker.io/nginx:alpine
networks:
- am-d-model-network
expose:
- "80"
volumes:
- ./repo:/usr/share/nginx/html
networks:
am-d-model-network:
name: am-d-model-network