summaryrefslogtreecommitdiff
path: root/.rr.yaml
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-08-27 12:15:37 +0300
committerValery Piashchynski <[email protected]>2020-08-27 12:15:37 +0300
commit66848c53fa63439c5c77857187b86f5bf31d1321 (patch)
tree06f7b96b861ad32642a8a70fdbeaf49ae755c3d0 /.rr.yaml
parente736440450b7828913e7a7c24881b7159b07dbfb (diff)
Add static header test, update .rr.yaml
Diffstat (limited to '.rr.yaml')
-rw-r--r--.rr.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.rr.yaml b/.rr.yaml
index ab2bb843..2d47a1d5 100644
--- a/.rr.yaml
+++ b/.rr.yaml
@@ -162,6 +162,14 @@ static:
# list of extensions for forbid for serving.
forbid: [".php", ".htaccess"]
+ # Automatically add headers to every request.
+ request:
+ "Example-Request-Header": "Value"
+
+ # Automatically add headers to every response.
+ response:
+ "X-Powered-By": "RoadRunner"
+
# health service configuration
health:
# http host to serve health requests.