Skip to content

Commit

Permalink
[ibexa/experience,commerce] Added configuration for custom trusted he…
Browse files Browse the repository at this point in the history
…ader
  • Loading branch information
Nattfarinn committed Oct 26, 2022
1 parent bebcd30 commit 404a899
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ibexa/commerce/4.3/config/packages/ibexa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@ parameters:
# Session save path as used by symfony session handlers (eg. used for dsn with redis)
#ibexa.session.save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%'

# Trusted custom header name to be mapped to X_FORWARDED_FOR
#trusted_header_client_ip_name: 'X-Custom-Client-Ip-Header'
#
# Keep in mind you need to configure the kernel.trusted_proxies option with
# an IP address of your reverse proxy server to allow use of trusted headers
#
# framework:
# trusted_proxies: ['127.0.0.1']
#
# More information: https://symfony.com/doc/current/deployment/proxies.html#custom-headers-when-using-a-reverse-proxy

# Predefined pools are located in config/packages/cache_pool/
# You can add your own cache pool to the folder mentioned above.
# In order to change the default cache_pool use environmental variable export.
Expand Down
11 changes: 11 additions & 0 deletions ibexa/experience/4.3/config/packages/ibexa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@ parameters:
# Session save path as used by symfony session handlers (eg. used for dsn with redis)
#ibexa.session.save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%'

# Trusted custom header name to be mapped to X_FORWARDED_FOR
#trusted_header_client_ip_name: 'X-Custom-Client-Ip-Header'
#
# Keep in mind you need to configure the kernel.trusted_proxies option with
# an IP address of your reverse proxy server to allow use of trusted headers
#
# framework:
# trusted_proxies: ['127.0.0.1']
#
# More information: https://symfony.com/doc/current/deployment/proxies.html#custom-headers-when-using-a-reverse-proxy

# Predefined pools are located in config/packages/cache_pool/
# You can add your own cache pool to the folder mentioned above.
# In order to change the default cache_pool use environmental variable export.
Expand Down

0 comments on commit 404a899

Please sign in to comment.