Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added a commented out example of how to get $request to trust X_FORWA…

…RDED_FOR headers in getClientIp()
  • Loading branch information...
commit d4365a47d85a341aae9294d171c02e9dcff2ebe5 1 parent bb97d81
@neilferreira neilferreira authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  app/config/config.yml
View
1  app/config/config.yml
@@ -14,6 +14,7 @@ framework:
validation: { enable_annotations: true }
templating: { engines: ['twig'] } #assets_version: SomeVersionScheme
default_locale: %locale%
+ trust_proxy_headers: false # Should Request object should trust proxy headers (X_FORWARDED_FOR/HTTP_CLIENT_IP)
session: ~
# Twig Configuration
Please sign in to comment.
Something went wrong with that request. Please try again.