Welcome! Log In Create A New Profile

Advanced

Re: Use nginx to return a scraped copy of another site

Francis Daly
December 01, 2022 02:44PM
On Thu, Nov 10, 2022 at 08:50:14PM +0800, Tony Mobily wrote:

Hi there,

> I want to run b.com as a duplicate of a.com, with nginx acting as a proxy.
> The contents would be identical; however, I would apply some minor
> modifications to the HTML.

> Is this possible with nginx? Is there an example configuration I can use as
> a starting point?

It sounds mostly straightforward.

http://nginx.org/r/proxy_pass is probably the basic directive to use.

If there are specific things that do not respond the way you want,
perhaps something can be changed somewhere to deal with those.

Good luck with it,

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

Use nginx to return a scraped copy of another site

Tony Mobily November 10, 2022 07:52AM

Re: Use nginx to return a scraped copy of another site

Francis Daly December 01, 2022 02:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 185
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready