Merge pull request #307 from Delivator/caddy-header-access-control-fix
Fixed caddy not exposing Access-Control-Expose-Headers (#306)
This commit is contained in:
commit
2c22672960
|
@ -58,12 +58,12 @@
|
||||||
}
|
}
|
||||||
reverse_proxy @skylink nginx:80 {
|
reverse_proxy @skylink nginx:80 {
|
||||||
header_up User-Agent Sia-Agent
|
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 *
|
header_down Access-Control-Allow-Origin *
|
||||||
}
|
}
|
||||||
reverse_proxy @skylink_file nginx:80 {
|
reverse_proxy @skylink_file nginx:80 {
|
||||||
header_up User-Agent Sia-Agent
|
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 *
|
header_down Access-Control-Allow-Origin *
|
||||||
}
|
}
|
||||||
reverse_proxy /skynet/skyfile* nginx:80 {
|
reverse_proxy /skynet/skyfile* nginx:80 {
|
||||||
|
|
Reference in New Issue