Combined landing with repo and serving repo directly via caddy

This commit is contained in:
2025-01-29 14:28:34 +00:00
parent a25f36100d
commit b4b78eaa71
3 changed files with 144 additions and 10 deletions

View File

@@ -1,3 +1,5 @@
import repo.caddyfile
{
admin off
}
@@ -19,12 +21,7 @@
}
handle /repo* {
uri strip_prefix /repo
reverse_proxy am-d-model-data-repository-frontend:80 {
header_up X-Forwarded-Proto https
header_up X-Forwarded-For {remote}
header_up X-Real-IP {remote}
header_up Host {host}
}
import repo_site
}
}