summaryrefslogtreecommitdiff
path: root/plugins/headers/tests/configs/.rr-headers-init.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/headers/tests/configs/.rr-headers-init.yaml')
-rw-r--r--plugins/headers/tests/configs/.rr-headers-init.yaml39
1 files changed, 0 insertions, 39 deletions
diff --git a/plugins/headers/tests/configs/.rr-headers-init.yaml b/plugins/headers/tests/configs/.rr-headers-init.yaml
deleted file mode 100644
index 21a4373a..00000000
--- a/plugins/headers/tests/configs/.rr-headers-init.yaml
+++ /dev/null
@@ -1,39 +0,0 @@
-server:
- command: "php ../../../tests/http/client.php echo pipes"
- user: ""
- group: ""
- env:
- "RR_HTTP": "true"
- relay: "pipes"
- relayTimeout: "20s"
-
-http:
- debug: true
- address: 127.0.0.1:33453
- 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:
- "Example-Request-Header": "Value"
- response:
- "X-Powered-By": "RoadRunner"
- pool:
- numWorkers: 2
- maxJobs: 0
- allocateTimeout: 60s
- destroyTimeout: 60s
-logs:
- mode: development
- level: error
-