← All features
Page rules & redirects

Redirects, rewrites and headers without touching your app

Move a site to a new domain, force HTTPS, add security headers, or give /static/* a long cache lifetime — from the panel, in seconds, with no deploy.

What you get

Wildcard matching

Match hosts and paths with * and capture groups, then reuse the captures in the redirect target.

Redirects & rewrites

301 and 302 redirects, and transparent rewrites that change the origin path without changing the URL the visitor sees.

Header injection

Add or override response headers per path — HSTS, CSP, cache headers, custom app headers.

Cache control

Set a cache TTL per rule and purge by URL or everything at once.

How it works

In the panel

Create a rule with a URL pattern and one or more actions. Rules are ordered; test any URL against them in the panel before saving to see exactly which rule matches.

Questions

Can I test a rule before it goes live?
Yes — enter any URL in the tester and the panel shows the matched rule and the resulting redirect or headers.

More from Greenproxy