Welcome! Log In Create A New Profile

Advanced

Re: Reverse proxy question

Francis Daly
July 02, 2022 04:36AM
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@daoine.org
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

Reverse proxy question

Saint Michael June 23, 2022 01:20AM

Re: Reverse proxy question

Francis Daly July 02, 2022 04:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 191
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready