Skip to content

Commit ae388aa

Browse files
Trust proxies on private and local IPs (commented by default)
1 parent 554d6d3 commit ae388aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

symfony/framework-bundle/4.2/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"env": {
1515
"APP_ENV": "dev",
1616
"APP_SECRET": "%generate(secret)%",
17-
"#TRUSTED_PROXIES": "127.0.0.1,127.0.0.2",
17+
"#TRUSTED_PROXIES": "127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16",
1818
"#TRUSTED_HOSTS": "'^localhost|example\\.com$'"
1919
},
2020
"gitignore": [

0 commit comments

Comments
 (0)