mirror of
https://github.com/Cian-H/iform-invenio.git
synced 2025-12-23 20:51:57 +00:00
Added headers to signal to invenio that caddy handles TLS
This commit is contained in:
@@ -19,7 +19,12 @@
|
|||||||
}
|
}
|
||||||
handle /repo* {
|
handle /repo* {
|
||||||
uri strip_prefix /repo
|
uri strip_prefix /repo
|
||||||
reverse_proxy am-d-model-data-repository-frontend:80
|
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}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user