Another attempt to fix placeholder page

This commit is contained in:
2025-01-21 15:32:38 +00:00
parent 0a0a036e0a
commit dfa1f4d373
2 changed files with 5 additions and 3 deletions

View File

@@ -10,8 +10,10 @@
health_status 200
}
handle /repo {
rewrite * /repo/placeholder.html
handle /repo/* {
root * /var/www/html
try_files * /repo/placeholder.html
file_server
}
}

View File

@@ -28,7 +28,7 @@ services:
volumes:
- caddy_data:/data
- ./caddy:/etc/caddy
- ./repo:/repo
- ./var/www/html/repo:/repo
restart: unless-stopped
labels:
- "io.containers.autoupdate=registry"