UNPKG

mcp-server-semgrep

Version:

MCP Server for Semgrep Integration - static code analysis with AI

30 lines (26 loc) 515 B
server { location ~ /proxy/(.*)/(.*)/(.*)$ { # ruleid: missing-internal proxy_pass $1://$2/$3; } } server { location / { # ok: missing-internal proxy_pass http://127.0.0.1:8000/; } } server { location ~ /proxy/(.*)/(.*)/(.*)$ { internal; # ok: missing-internal proxy_pass $1://$2/$3; } } server { location / { # ok: missing-internal proxy_pass http:/backend:42/; set $false 'positive'; } }