502 Bad Gateway for only two Topics

My try:

/var/discourse# cat templates/web.proxy_read_timeout.template.yml 
#
# Set the timeout for nginx proxy reads on slow systems.
# See https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_read_timeout
# See https://meta.discourse.org/t/502-bad-gateway-for-only-two-topics/242981/20?u=niccokunzmann
#
run:
  - file:
     path: "/etc/nginx/conf.d/proxy_read_timeout.conf"
     contents: |
       proxy_read_timeout 180s;

Then, I added it in the containers/app.yml:

templates:
# ...
  - "templates/web.proxy_read_timeout.template.yml"

Then, I did

./launcher rebuild app

For now, I do not see these errors appear.

1 Like