Skip to content

Commit 1a94e61

Browse files
authored
Merge pull request #223 from enekochan/patch-2
Fix YAML indentation
2 parents 939b53d + 8f4e7a4 commit 1a94e61

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

integrations/symfony-full-configuration.rst

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -86,26 +86,26 @@ This page shows an example of all configuration values provided by the bundle.
8686
default_ttl: 120
8787
# Can configure plugins that can not be configured globally
8888
- add_host:
89-
# Host name including protocol and optionally the port number, e.g. https://api.local:8000
90-
host: http://localhost:80 # Required
91-
# Whether to replace the host if request already specifies it
92-
replace: false
89+
# Host name including protocol and optionally the port number, e.g. https://api.local:8000
90+
host: http://localhost:80 # Required
91+
# Whether to replace the host if request already specifies it
92+
replace: false
9393
# Append headers to the request. If the header already exists the value will be appended to the current value.
9494
- header_append:
95-
# Keys are the header names, values the header values
96-
headers:
97-
'X-FOO': bar # contrary to default symfony behaviour, hyphens "-" are NOT translated to underscores "_" for the headers.
95+
# Keys are the header names, values the header values
96+
headers:
97+
'X-FOO': bar # contrary to default symfony behaviour, hyphens "-" are NOT translated to underscores "_" for the headers.
9898
# Set header to default value if it does not exist.
9999
- header_defaults:
100-
# Keys are the header names, values the header values
101-
headers:
102-
'X-FOO': bar
100+
# Keys are the header names, values the header values
101+
headers:
102+
'X-FOO': bar
103103
# Set headers to requests. If the header does not exist it wil be set, if the header already exists it will be replaced.
104104
- header_set:
105-
# Keys are the header names, values the header values
106-
headers:
107-
'X-FOO': bar
105+
# Keys are the header names, values the header values
106+
headers:
107+
'X-FOO': bar
108108
# Remove headers from requests.
109109
- header_remove:
110-
# List of header names to remove
111-
headers: ["X-FOO"]
110+
# List of header names to remove
111+
headers: ["X-FOO"]

0 commit comments

Comments
 (0)