mirror of
https://github.com/Cian-H/iform-invenio.git
synced 2025-12-22 20:41:56 +00:00
Combined landing with repo and serving repo directly via caddy
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user