Pass host to apostille (required for k8s ingress)

This commit is contained in:
Evan Cordell 2017-02-23 18:13:02 -05:00
parent f42200a303
commit ecd441269b
2 changed files with 4 additions and 0 deletions

View file

@ -83,6 +83,7 @@ location /secscan/ {
location ~ ^/v2/(.+)/_trust/tuf/(.*)$ {
set $upstream_tuf {{ tuf_server }};
proxy_pass $upstream_tuf$uri;
proxy_set_header Host "{{ tuf_host }";
}
{% endif %}