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.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/ansible/roles/configure-nginx/templates/backend-nginx.conf b/ansible/roles/configure-nginx/templates/backend-nginx.conf
index 3abecb6..2ba4586 100644
--- a/ansible/roles/configure-nginx/templates/backend-nginx.conf
+++ b/ansible/roles/configure-nginx/templates/backend-nginx.conf
@@ -19,6 +19,13 @@ server {
index index.html;
}
+ location /schema {
+ alias {{ web_root }}/{{ hostname }}/schema/;
+
+ fancyindex on;
+ fancyindex_exact_size off;
+ }
+
error_page 503 @maintenance;
location @maintenance {
rewrite ^(.*)$ /maintenance.html break;