Skip to content

Add HAProxy configuration for Prerender.io - #1

Open
Lasalot wants to merge 3 commits into
mainfrom
add-haproxy-config
Open

Add HAProxy configuration for Prerender.io#1
Lasalot wants to merge 3 commits into
mainfrom
add-haproxy-config

Conversation

@Lasalot

@Lasalot Lasalot commented Apr 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • HAProxy configuration for routing bot/crawler traffic through Prerender.io
  • Updated reqrep directive (removed in HAProxy 2.1) to http-request replace-path
  • Includes ACL rules for common bots and modern AI crawlers (GPTBot, ClaudeBot, Perplexity, etc.)
  • Static asset extensions excluded from prerendering

Test plan

  • Verify config loads without errors: haproxy -c -f HAProxy/haproxy.cfg
  • Replace YOUR_TOKEN with your Prerender.io token
  • Replace http://example.com with your site URL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant