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