app_gw: Rewrite redirect responses (replace upstream location with server_name)

This commit is contained in:
Langhammer, Jens
2019-07-09 15:28:52 +02:00
parent 1d2be6e68b
commit 3d1fa9f048
2 changed files with 9 additions and 1 deletions

View File

@ -9,7 +9,7 @@ from passbook.app_gw.proxy.utils import (cookie_from_string,
#: Default number of bytes that are going to be read in a file lecture
DEFAULT_AMT = 2 ** 16
logger = logging.getLogger('revproxy.response')
logger = logging.getLogger(__name__)
def get_django_response(proxy_response, strict_cookies=False):