Reverse proxy question

Francis Daly francis at daoine.org
Sat Jul 2 08:34:09 UTC 2022


On Thu, Jun 23, 2022 at 08:19:06AM +0300, Saint Michael wrote:

Hi there,

> I have these substitution rules:
> subs_filter "https://www.postimees.ee" "https://postimees.oneye.us" gir break;
> subs_filter "www.postimees.ee" "postimees.oneye.us" gir break;
> subs_filter "http://(.*).postimees.ee/(.*)"
> "http://postimees.oneye.us/$1/$2" gir break;
> 
> but they don't process the link above.
> How do you exactly write the rules, or rewrite rules, in cases like this?

The link starts with https://arvamus.postimees.ee/

The third subs_filter wants to match http://, not https://

Cheers,

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list