add cors headers to http proxy

This commit is contained in:
terminal
2022-04-21 12:40:14 +03:00
parent 4f1216b14f
commit c3285354c1
8 changed files with 45 additions and 1 deletions

View File

@@ -401,6 +401,14 @@ See <<tls>> section
If set to `true` then Dshackle preserves _batch_ order based on request order.
Note that latter is ineffective and use this option only when a client cannot reference responses by their IDs.
| `сors-origin`
|
| Access-Control-Allow-Origin contents. If empty the header will be omitted in response
| `cors-allowed-headers`
| `Content-Type`
| Access-Control-Allow-Headers contents. Takes effect only if сors-origi is present in config
| `routes`
|
a| Routing paths for Proxy.