summaryrefslogtreecommitdiff
path: root/plugins/headers/tests/configs/.rr-cors-headers.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/headers/tests/configs/.rr-cors-headers.yaml')
-rw-r--r--plugins/headers/tests/configs/.rr-cors-headers.yaml39
1 files changed, 0 insertions, 39 deletions
diff --git a/plugins/headers/tests/configs/.rr-cors-headers.yaml b/plugins/headers/tests/configs/.rr-cors-headers.yaml
deleted file mode 100644
index df985809..00000000
--- a/plugins/headers/tests/configs/.rr-cors-headers.yaml
+++ /dev/null
@@ -1,39 +0,0 @@
-server:
- command: "php ../../../tests/http/client.php headers pipes"
- user: ""
- group: ""
- env:
- "RR_HTTP": "true"
- relay: "pipes"
- relayTimeout: "20s"
-
-http:
- debug: true
- address: 127.0.0.1:22855
- maxRequestSize: 1024
- middleware: [ "headers" ]
- uploads:
- forbid: [ ".php", ".exe", ".bat" ]
- trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
- # Additional HTTP headers and CORS control.
- headers:
- cors:
- allowedOrigin: "*"
- allowedHeaders: "*"
- allowedMethods: "GET,POST,PUT,DELETE"
- allowCredentials: true
- exposedHeaders: "Cache-Control,Content-Language,Content-Type,Expires,Last-Modified,Pragma"
- maxAge: 600
- request:
- "input": "custom-header"
- response:
- "output": "output-header"
- pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
-logs:
- mode: development
- level: error
-