Skip to content

Commit e214b58

Browse files
committed
Set trusted proxies for running in codespace
1 parent 3277fc2 commit e214b58

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,9 @@
1212
"postAttachCommand": {
1313
"server": "symfony server:start",
1414
"sass build": ["symfony", "console", "sass:build", "-w"]
15+
},
16+
"containerEnv": {
17+
"SYMFONY_TRUSTED_PROXIES": "127.0.0.1",
18+
"SYMFONY_TRUSTED_HEADERS": "x-forwarded-for,x-forwarded-host,x-forwarded-proto,x-forwarded-port"
1519
}
1620
}

0 commit comments

Comments
 (0)