Use nginx to return a scraped copy of another site

Francis Daly francis at
Thu Dec 1 19:42:32 UTC 2022

On Thu, Nov 10, 2022 at 08:50:14PM +0800, Tony Mobily wrote:

Hi there,

> I want to run as a duplicate of, 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. 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,

Francis Daly        francis at

More information about the nginx mailing list