Use middleware instead of the noscheme workaround in order to make HTTPS work behind a reverse-proxy

This commit is contained in:
Pierre Rudloff 2017-05-14 21:53:57 +02:00
parent f53fc5ebc1
commit fed425fce3
7 changed files with 70 additions and 238 deletions

View file

@ -1,7 +1,7 @@
{include file='inc/head.tpl'}
{include file='inc/header.tpl'}
<div class="main">
<div><img class="logo" src="{base_url|noscheme}/img/logo.png"
<div><img class="logo" src="{base_url}/img/logo.png"
alt="AllTube Download" width="328" height="284"></div>
<form action="{path_for name="video"}">
<label class="labelurl" for="url">