Trust CodeFirst reverse proxy

This commit is contained in:
2024-06-07 20:02:24 +02:00
parent 5a8c01e6ef
commit bef107c9b0
3 changed files with 4 additions and 1 deletions

View File

@@ -4,6 +4,8 @@
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
parameters:
trusted_proxies: '%env(TRUSTED_PROXIES)%'
env(TRUSTED_PROXIES): 127.0.0.1
services:
# default configuration for services in *this* file