Reverse Proxy Setup

Reverse Proxy Setup

Generate a reverse proxy config that keeps your public domain visible while forwarding requests to your CapGo project.

Choose your proxy type, fill in the values, then copy the generated config.

Reverse Proxy Details

These values are used to build the reverse proxy config below.

Proxy Configuration

Copy this block

Copy this into the matching reverse proxy config file.

Check the Reverse Proxy

Run these commands after updating your reverse proxy.

Expected results

Good content URL returns 200.

Utility URLs return 200.

Legacy URL format should not be used.

robots.txt should use the public domain behavior.

curl

Advanced reverse proxy notes

Host tells CapGo which public domain the visitor requested.

X-Forwarded-Host should match the public domain.

X-Forwarded-Proto should usually be https.

The upstream target is only the transport destination for the reverse proxy.