mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 21:41:57 +00:00
Added headers to signal to invenio that caddy handles TLS
This commit is contained in:
@@ -19,7 +19,12 @@
|
||||
}
|
||||
handle /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