diff options
author | Valery Piashchynski <[email protected]> | 2023-11-04 12:45:58 +0100 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2023-11-04 12:45:58 +0100 |
commit | 2e094d907a78055631bd126b3feb25008089fb34 (patch) | |
tree | a4f03f79625644e5a93eb39f1fb4f2977fda0c51 /.rr.yaml | |
parent | 89a11738d4a666e19480e2b615d73cd30529ed91 (diff) |
feature: `allowed_origin_regex` headers configuration option
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to '.rr.yaml')
-rw-r--r-- | .rr.yaml | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -761,9 +761,14 @@ http: cors: # Controls "Access-Control-Allow-Origin" header value (docs: https://mzl.la/2OgD4Qf). # - # Default: "" + # Default: empty allowed_origin: "*" + # Controls "Access-Control-Allow-Origin" header value (docs: https://mzl.la/2OgD4Qf). + # + # Default: empty. If set, overrides allowed_origin. + allowed_origin_regex: "^https://foo" + # Controls "Access-Control-Allow-Headers" header value (docs: https://mzl.la/2OzDVvk). # # Default: "" |