upd: framework.yaml
add trusted_proxies var for use
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
# see https://symfony.com/doc/current/reference/configuration/framework.html
|
# see https://symfony.com/doc/current/reference/configuration/framework.html
|
||||||
|
# config/packages/framework.yaml
|
||||||
framework:
|
framework:
|
||||||
|
trusted_proxies: '%env(TRUSTED_PROXIES)%'
|
||||||
secret: '%env(APP_SECRET)%'
|
secret: '%env(APP_SECRET)%'
|
||||||
#csrf_protection: true
|
#csrf_protection: true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user