aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/configure-nginx/templates/backend-nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/configure-nginx/templates/backend-nginx.conf')
-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 472302e..1060376 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|job|defconfig|boot|token|batch|bisect|lab|version)(.*)(?!(\.(html?|json|css|js|png|jpe?g|ico))))$ {
+ location ~* /(?:(count|jobs?|defconfigs?|boots?|tokens?|batch|bisect|labs?|version|reports?)(.*)(?!(\.(html?|json|css|js|png|jpe?g|ico))))$ {
if (-f $document_root/maintenance.html) {
more_set_headers "Content-Type: application/json; charset=UTF-8";