From 8ce64e551eeffff4b2c78856a6d6585a06c72c2e Mon Sep 17 00:00:00 2001 From: Ben Graham Date: Thu, 2 Aug 2012 17:16:28 +1000 Subject: [PATCH] OK, so that turned out to be easier than I expected --- headphones/webstart.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/headphones/webstart.py b/headphones/webstart.py index b3659f55..13465bff 100644 --- a/headphones/webstart.py +++ b/headphones/webstart.py @@ -35,7 +35,8 @@ def initialize(options={}): conf = { '/': { - 'tools.staticdir.root': os.path.join(headphones.PROG_DIR, 'data') + 'tools.staticdir.root': os.path.join(headphones.PROG_DIR, 'data'), + 'tools.proxy.on': True, # pay attention to X-Forwarded-Proto header }, '/interfaces':{ 'tools.staticdir.on': True,