taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 121ecedf8566db7604c1349f7bca30ba9edc5f4a
parent dbf033f24f67233c5a548d642f210ff1406859f8
Author: Florian Dold <florian.dold@gmail.com>
Date:   Mon, 30 Jan 2017 23:55:07 +0100

fix for permanent redirect

Diffstat:
Metc/nginx/sites-enabled/www-ssl.site | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/etc/nginx/sites-enabled/www-ssl.site b/etc/nginx/sites-enabled/www-ssl.site @@ -48,7 +48,9 @@ server { rewrite ^/(..)/$ /$1/index.html break; rewrite ^/(help/empty-wallet)$ /$1.html break; - rewrite ^/wallet-installation\.html$ /en/wallet.html permanent; + rewrite ^/wallet-installation\.html$ /en/wallet.html redirect; + # just to get around cached old redirect + rewrite ^/wallet\.en\.html$ /en/wallet.html redirect; } gzip on;