diff --git a/helm-quarry/values.yaml b/helm-quarry/values.yaml index afdda44..7ffd834 100644 --- a/helm-quarry/values.yaml +++ b/helm-quarry/values.yaml @@ -1,7 +1,7 @@ web: repository: 'quay.io/wikimedia-quarry/quarry' - tag: pr-69 # web tag managed by github actions + tag: pr-70 # web tag managed by github actions worker: repository: 'quay.io/wikimedia-quarry/quarry' - tag: pr-69 # worker tag managed by github actions + tag: pr-70 # worker tag managed by github actions diff --git a/quarry/web/app.py b/quarry/web/app.py index 49140ad..34b3bbe 100644 --- a/quarry/web/app.py +++ b/quarry/web/app.py @@ -1,5 +1,6 @@ from flask import current_app, Flask, render_template, g from flask_caching import Cache +from werkzeug.middleware.proxy_fix import ProxyFix from .config import get_config from .connections import Connections @@ -31,6 +32,7 @@ def kill_context(exception=None): def create_app(test_config=None): app = Flask(__name__) + app.wsgi_app = ProxyFix(app.wsgi_app, x_proto=1) if test_config is None: app.config.update(get_config())