summaryrefslogtreecommitdiff
path: root/etc/nginx
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-09-24 15:50:13 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-09-24 15:50:13 +0200
commit19dd63bfc29331fe5f774aa110ff14f628727525 (patch)
treee28388dcefafe3d3b257dfff830f2c85ce6bd1f0 /etc/nginx
parent7eb275889d91c1c011269a9264c0c418df92107e (diff)
downloaddeployment-19dd63bfc29331fe5f774aa110ff14f628727525.tar.gz
deployment-19dd63bfc29331fe5f774aa110ff14f628727525.tar.bz2
deployment-19dd63bfc29331fe5f774aa110ff14f628727525.zip
nginx + build rules for translated docs landing.
Diffstat (limited to 'etc/nginx')
-rw-r--r--etc/nginx/sites-enabled/docs-ssl.site5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/nginx/sites-enabled/docs-ssl.site b/etc/nginx/sites-enabled/docs-ssl.site
index 2e02a9c..923d703 100644
--- a/etc/nginx/sites-enabled/docs-ssl.site
+++ b/etc/nginx/sites-enabled/docs-ssl.site
@@ -16,8 +16,13 @@ server {
autoindex off;
ssi off;
# ssi_last_modified on;
+
+
+ rewrite ^/$ /$index_redirect_uri/ redirect;
+ rewrite ^/(..)/$ /$1/index.html break;
}
+
location /code/exchange {
alias /home/docbuilder/build/exchange/doxygen;
}