mirror of
https://github.com/Cian-H/iform-invenio.git
synced 2025-12-22 20:41:56 +00:00
Another attempt to fix placeholder page
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user