From e9defd4236c454348a57b74261bf78be32ffdc91 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Tue, 4 Feb 2020 10:23:23 +0100 Subject: [PATCH] web-gw: sync http and https --- roles/web-gw/templates/vhost.j2 | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/roles/web-gw/templates/vhost.j2 b/roles/web-gw/templates/vhost.j2 index 9396229..11aac46 100644 --- a/roles/web-gw/templates/vhost.j2 +++ b/roles/web-gw/templates/vhost.j2 @@ -13,13 +13,16 @@ server { root /var/www/html; - location /firmware { - proxy_pass https://regensburg.freifunk.net/firmware; - } + # /firmware is legacy now + #location /firmware { + # proxy_pass https://regensburg.freifunk.net/firmware; + #} + # temp redirector server location /move.php { proxy_pass http://home.mephis.to:2342/move.php; } + # updateserver @meph location /firmware-ng/experimental { proxy_pass http://home.mephis.to:2342/ff/experimental/images; @@ -40,7 +43,16 @@ server { root /var/www/html; - location /firmware { - proxy_pass https://regensburg.freifunk.net/firmware; + # /firmware is legacy now + #location /firmware { + # proxy_pass https://regensburg.freifunk.net/firmware; + #} + + # updateserver @meph + location /firmware-ng/experimental { + proxy_pass http://home.mephis.to:2342/ff/experimental/images; + } + location /firmware-ng/stable { + proxy_pass http://home.mephis.to:2342/ff/stable/images; } }