summaryrefslogtreecommitdiff
path: root/.rr.yaml
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-21 16:08:06 +0300
committerValery Piashchynski <[email protected]>2021-01-21 16:08:06 +0300
commit8029e2d1107e4663f1104ebf25c40f252c8ea111 (patch)
tree7c9a6744fa9ce130d80c634da3d7596f70fda51a /.rr.yaml
parent7da6c78449776e1f3c6716250bca0b712a0423a4 (diff)
Fix headers configs
Update rr.yaml Remove previous stderr messages when they were sent
Diffstat (limited to '.rr.yaml')
-rwxr-xr-x.rr.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.rr.yaml b/.rr.yaml
index 2985dee7..ca638aa9 100755
--- a/.rr.yaml
+++ b/.rr.yaml
@@ -31,6 +31,19 @@ http:
"fc00::/7",
"fe80::/10",
]
+ headers:
+ cors:
+ allowed_origin: "*"
+ allowed_headers: "*"
+ allowed_methods: "GET,POST,PUT,DELETE"
+ allow_credentials: true
+ exposed_headers: "Cache-Control,Content-Language,Content-Type,Expires,Last-Modified,Pragma"
+ max_age: 600
+ request:
+ input: "custom-header"
+ response:
+ output: "output-header"
+
static:
dir: "tests"
forbid: [ "" ]