Skip to content

Commit ec775d6

Browse files
committed
Update README.md
1 parent 401667d commit ec775d6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,18 @@ class DefaultController extends AbstractController
261261
```
262262

263263
Save it, and refresh your project page.
264+
265+
#### to display Symfony Web Debug Toolbar
266+
267+
must add the below code in the ```./symfony/webapp/config/packages/framework.yaml``` file.
268+
269+
```
270+
framework:
271+
# ...
272+
# trust *all* requests (the 'REMOTE_ADDR' string is replaced at
273+
# run time by $_SERVER['REMOTE_ADDR'])
274+
trusted_proxies: 'symfony,REMOTE_ADDR'
275+
```
264276
265277
#### Proxy
266278

0 commit comments

Comments
 (0)