mcp-server-semgrep
Version:
MCP Server for Semgrep Integration - static code analysis with AI
19 lines (16 loc) • 430 B
Plain Text
server {
listen 80;
# ok: header-redefinition
add_header X-Frame-Options "DENY" always;
location / {
return 200 "index";
}
location /new-headers {
# Add special cache control
# ruleid: header-redefinition
add_header Cache-Control "no-cache, no-store, max-age=0, must-revalidate" always;
# ruleid: header-redefinition
add_header Pragma "no-cache" always;
return 200 "new-headers";
}
}