Fixed caddy not exposing Access-Control-Expose-Headers (#306)

This commit is contained in:
Delivator 2020-07-26 15:14:06 +02:00
parent f9f580cf64
commit e755fd93d0
1 changed files with 2 additions and 2 deletions

View File

@ -56,12 +56,12 @@
}
reverse_proxy @skylink nginx:80 {
header_up User-Agent Sia-Agent
header_up Access-Control-Expose-Headers skynet-file-metadata
header_down Access-Control-Expose-Headers skynet-file-metadata
header_down Access-Control-Allow-Origin *
}
reverse_proxy @skylink_file nginx:80 {
header_up User-Agent Sia-Agent
header_up Access-Control-Expose-Headers skynet-file-metadata
header_down Access-Control-Expose-Headers skynet-file-metadata
header_down Access-Control-Allow-Origin *
}
reverse_proxy /skynet/skyfile* nginx:80 {