mirror of
https://github.com/symfony/demo.git
synced 2026-03-24 00:02:32 +01:00
Set trusted proxies for running in Codespace
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"features": {
|
||||
"ghcr.io/shyim/devcontainers-features/symfony-cli:0": {},
|
||||
"ghcr.io/shyim/devcontainers-features/php:0": {
|
||||
"version": "8.2"
|
||||
"version": "8.4"
|
||||
}
|
||||
},
|
||||
"updateContentCommand": {
|
||||
@@ -12,5 +12,9 @@
|
||||
"postAttachCommand": {
|
||||
"server": "symfony server:start",
|
||||
"sass build": ["symfony", "console", "sass:build", "-w"]
|
||||
},
|
||||
"containerEnv": {
|
||||
"SYMFONY_TRUSTED_PROXIES": "127.0.0.1",
|
||||
"SYMFONY_TRUSTED_HEADERS": "x-forwarded-for,x-forwarded-host,x-forwarded-proto,x-forwarded-port"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user