mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 23:56:25 +03:00
Trust proxies on private and local IPs (commented by default)
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
"env": {
|
||||
"APP_ENV": "dev",
|
||||
"APP_SECRET": "%generate(secret)%",
|
||||
"#TRUSTED_PROXIES": "127.0.0.1,127.0.0.2",
|
||||
"#TRUSTED_PROXIES": "127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16",
|
||||
"#TRUSTED_HOSTS": "'^localhost|example\\.com$'"
|
||||
},
|
||||
"gitignore": [
|
||||
|
||||
Reference in New Issue
Block a user