summaryrefslogtreecommitdiff
path: root/.rr.yaml
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-08-27 09:44:05 +0000
committerGitHub <[email protected]>2020-08-27 09:44:05 +0000
commit9103939fa98de53170d2bf0e8cd74529786d7ab2 (patch)
tree06f7b96b861ad32642a8a70fdbeaf49ae755c3d0 /.rr.yaml
parent88b394324165e3e16253c27552b0d4d7d6628a81 (diff)
parent66848c53fa63439c5c77857187b86f5bf31d1321 (diff)
Merge #345
345: Adding headers to static files r=48d90782 a=siad007 Fixes #336 Related to #335 Co-authored-by: Siad Ardroumli <[email protected]> Co-authored-by: Valery Piashchynski <[email protected]>
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.