Trust common reverse proxies
continuous-integration/drone/push Build is passing Details

pull/10/head
Clément FRÉVILLE 11 months ago
parent 9c764d536e
commit 5a8c01e6ef

@ -5,6 +5,8 @@ framework:
assets:
base_path: '%env(ASSETS_BASE_PATH)%'
trusted_proxies: '127.0.0.1,private_ranges'
trusted_headers: ['x-forwarded-for', 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-port', 'x-forwarded-prefix']
# Note that the session will be started ONLY if you read or write from it.
session: true

Loading…
Cancel
Save