aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles
diff options
context:
space:
mode:
authorMilo Casagrande <milo.casagrande@linaro.org>2015-01-19 09:37:08 +0100
committerMilo Casagrande <milo.casagrande@linaro.org>2015-01-19 09:37:08 +0100
commitd3ceb0737a4326be468f07caf8d7712119dd81b9 (patch)
tree4f5b44651f4e6905682ca637f349032743ebc6c2 /ansible/roles
parente3f6e6a883d0173ed74a910aa12145ebd45013bb (diff)
ansible: Enable upload API endpoint.
Change-Id: I8c3e13eef77e432197cfa55d24d9b7afc02c408c
Diffstat (limited to 'ansible/roles')
-rw-r--r--ansible/roles/configure-nginx/templates/backend-nginx.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/configure-nginx/templates/backend-nginx.conf b/ansible/roles/configure-nginx/templates/backend-nginx.conf
index 7ecba08..667e9f0 100644
--- a/ansible/roles/configure-nginx/templates/backend-nginx.conf
+++ b/ansible/roles/configure-nginx/templates/backend-nginx.conf
@@ -30,7 +30,7 @@ server {
add_header Cache-Control "public";
}
- location ~* /(?:(count|jobs?|defconfigs?|boots?|tokens?|batch|bisect|labs?|version|reports?|send)(.*)(?!(\.(html?|json|css|js|png|jpe?g|ico))))$ {
+ location ~* /(?:(count|jobs?|defconfigs?|boots?|tokens?|batch|bisect|labs?|version|reports?|send|upload)(.*)(?!(\.(html?|json|css|js|png|jpe?g|ico))))$ {
if (-f $document_root/maintenance.html) {
more_set_headers "Content-Type: application/json; charset=UTF-8";