mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 20:19:16 +02:00
Fix #1085: Make URL-building logic more resilient against reverse proxy misconfiguration
This commit is contained in:
parent
e981f005dc
commit
e8efa4213a
5 changed files with 96 additions and 0 deletions
|
@ -1302,3 +1302,10 @@ PODCASTS_RSS_FEED_MAX_ITEMS = env.int("PODCASTS_RSS_FEED_MAX_ITEMS", default=250
|
|||
"""
|
||||
Maximum number of RSS items to load in each podcast feed.
|
||||
"""
|
||||
|
||||
IGNORE_FORWARDED_HOST_AND_PROTO = env.bool(
|
||||
"IGNORE_FORWARDED_HOST_AND_PROTO", default=True
|
||||
)
|
||||
"""
|
||||
Use :attr:`FUNKWHALE_HOSTNAME` and :attr:`FUNKWHALE_PROTOCOL ` instead of request header.
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue