Trust proxies on private and local IPs (commented by default)

This commit is contained in:
Nicolas Grekas
2019-10-08 14:20:22 +02:00
parent 554d6d3dfd
commit ae388aa719
+1 -1
View File
@@ -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": [