mirror of
https://github.com/penpot/penpot.git
synced 2026-11-10 03:50:33 +00:00
14 lines
364 B
Plaintext
14 lines
364 B
Plaintext
location /mcp/ws {
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection 'upgrade';
|
|
set $mcp_ws_backend $PENPOT_MCP_URI_WS;
|
|
proxy_pass $mcp_ws_backend;
|
|
proxy_http_version 1.1;
|
|
}
|
|
|
|
location /mcp/stream {
|
|
set $mcp_stream_backend $PENPOT_MCP_URI/mcp$is_args$args;
|
|
proxy_pass $mcp_stream_backend;
|
|
proxy_http_version 1.1;
|
|
}
|