mimic x_proto, x_host params from old ProxyFix.
This commit is contained in:
parent
5513b34a66
commit
2b38207100
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ def create_app(config_object="lnbits.settings") -> Quart:
|
||||||
|
|
||||||
cors(app)
|
cors(app)
|
||||||
Compress(app)
|
Compress(app)
|
||||||
ProxyFix(app)
|
ProxyFix(app, x_proto=1, x_host=1)
|
||||||
|
|
||||||
register_assets(app)
|
register_assets(app)
|
||||||
register_blueprints(app)
|
register_blueprints(app)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue