Reverse Proxy Is Unstable

1. The problem I’m having:

I installed Caddy on a weak server in order to redirect to the www subdomain. It works well.

But when I decided to enable the reverse proxy feature from my S3 storage, problems began:

  • Blank page,
  • Do not load CSS file,
  • Not all images are loaded.

If you run the query again, everything may be displayed normally. It can work for a while without problems.

S3 storage works without any problems in hosting mode.

Caddy enough processor, but only 80MB of free RAM. Maybe because of this?

2. Error messages and/or full log output:

3. Caddy version:

v2.10.0 h1:fonubSaQKF1YANl8TXqGcn4IbIRUDdfAkpcsfI/vX5U=

4. How I installed and ran Caddy:

a. System environment:

Ubuntu 22.04 64bit

d. My complete Caddy config:

domain.tld {
	redir https://www.domain.tld permanent
}
www.domain.tld {
	reverse_proxy https://123.s3.tld
}

Debug log? Anything supporting your claim?