Nginx Integration Guide

This guide explains how to integrate Index Render into your Nginx webserver for Single Page Applications (SPA), PHP applications, and Reverse Proxies.

Important: Ensure you have access to your Nginx configuration file before proceeding.

Nginx Use Cases

  • Single Page Application
  • PHP Application
  • Reverse Proxy
Tips for Success: • Always back up your Nginx config before changes.
• Test configuration after every update to avoid downtime.

Single Page Application

Add a /index-renderio location block and replace YOUR_TOKEN with your Index Render token.

if ($index-render = 1) {
    rewrite (.*) /index-renderio last;
}

PHP Application

location / {
    if ($index-render = 1) {
        rewrite (.*) /index-renderio last;
    }
    rewrite (.*) /index.php$1 last;
}
if ($index-render = 1) {
    rewrite (.*) /index-renderio last;
}

Reverse Proxy

Add the /index-renderio location block and forward requests to Index Render service.

if ($index-render = 1) {
    rewrite (.*) /index-renderio last;
}

Index Render Token Location

You can find your token under:
Security & Access → Index Render Token

Verify Your Installation

curl -A "googlebot" https://yourdomain.com

If Index Render headers are missing, the integration is not working correctly.

Getting an Error?

If you see "Index Render Integration Not Detected", refer to the troubleshooting documentation.

Expert Assistance

Kickstart Package — $800 (one-time) • Three expert setup sessions
• Onboarding assistance
• Security assessment

Get Support

If you're still encountering issues after implementing Index Render, contact support for further assistance.