mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
Update sulu/mcp-bundle recipe for symfony/mcp-bundle 0.13 (#2039)
symfony/mcp-bundle 0.13 replaced the single implicit server with named servers under `mcp.servers`. sulu/mcp-bundle prepends one called `sulu`, so the `allowed_hosts` this recipe writes moves under `mcp.servers.sulu.http`.
This commit is contained in:
@@ -8,16 +8,19 @@ sulu_mcp:
|
||||
# ownership of a file that is not ours.
|
||||
|
||||
mcp:
|
||||
http:
|
||||
# DNS rebinding protection. Left unset it accepts localhost only, so a server
|
||||
# reachable under its own domain answers every request with "403 Forbidden:
|
||||
# Invalid Host header." after the OAuth handshake already succeeded, and without
|
||||
# writing anything to the log. Hosts carry no port.
|
||||
allowed_hosts:
|
||||
- '%env(key:host:url:SULU_MCP_SERVER_URL)%'
|
||||
- localhost
|
||||
- 127.0.0.1
|
||||
- '[::1]'
|
||||
servers:
|
||||
# The server SuluMcpBundle prepends; its remaining options are set there.
|
||||
sulu:
|
||||
http:
|
||||
# DNS rebinding protection. Left unset it accepts localhost only, so a server
|
||||
# reachable under its own domain answers every request with "403 Forbidden:
|
||||
# Invalid Host header." after the OAuth handshake already succeeded, and without
|
||||
# writing anything to the log. Hosts carry no port.
|
||||
allowed_hosts:
|
||||
- '%env(key:host:url:SULU_MCP_SERVER_URL)%'
|
||||
- localhost
|
||||
- 127.0.0.1
|
||||
- '[::1]'
|
||||
|
||||
league_oauth2_server:
|
||||
scopes:
|
||||
|
||||
Reference in New Issue
Block a user