diff options
author | Milo Casagrande <milo.casagrande@linaro.org> | 2015-03-03 14:39:10 +0100 |
---|---|---|
committer | Milo Casagrande <milo.casagrande@linaro.org> | 2015-03-03 14:39:10 +0100 |
commit | d2aa6ded2a9b039735a4205bd9f4e48c47b7b212 (patch) | |
tree | c832ba5a56357fd651edf1893d36a30667c4a0c0 | |
parent | 19c7df905705b7ce8d19cdeef9c08766390948ef (diff) |
ansible: Add schema location to nginx config.
Change-Id: I7cc375355bf2e2a4307694d549b75aba277bc9b8
-rw-r--r-- | ansible/roles/configure-nginx/templates/backend-nginx.conf | 7 |
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; |