mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-24 11:59:31 +00:00
Allow users to set trusted proxies for header override.
This should fix issue #145.
This commit is contained in:
parent
7a14fb60d3
commit
9cc4226726
2 changed files with 11 additions and 1 deletions
|
|
@ -50,4 +50,5 @@ parameters:
|
|||
env(DEMO_MODE): 0
|
||||
env(ALLOW_ATTACHMENT_DOWNLOADS): 0
|
||||
|
||||
|
||||
env(TRUSTED_PROXIES): '127.0.0.1' #By default trust only our own server
|
||||
env(TRUSTED_HOSTS): '' # Trust all host names by default
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue