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 health_status 200
} }
handle /repo { handle /repo/* {
rewrite * /repo/placeholder.html root * /var/www/html
try_files * /repo/placeholder.html
file_server
} }
} }

View File

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