diff --git a/config/packages/framework.yaml b/config/packages/framework.yaml index b6cfd9e..5bc08c3 100644 --- a/config/packages/framework.yaml +++ b/config/packages/framework.yaml @@ -5,6 +5,13 @@ framework: annotations: false http_method_override: false handle_all_throwables: true + trusted_proxies: '127.0.0.1' + trusted_headers: + - x-forwarded-for + - x-forwarded-host + - x-forwarded-proto + - x-forwarded-port + - x-forwarded-prefix # Enables session support. Note that the session will ONLY be started if you read or write from it. # Remove or comment this section to explicitly disable session support.