The discussion revolves around adding Cache-Control and Pragma headers to the /logs/messages.json route in Discourse. Dev_Work initially identifies the issue and seeks a solution. Falco points out that the /logs route is handled by the logster library, and any changes would require modifications to the library code.
Dev_Work explores alternative solutions, including adding headers via Nginx or middleware, but ultimately finds a simpler approach by modifying the app.yml file. pfaffman provides guidance on how to modify the Nginx config in the app.yml file.
Dev_Work successfully implements the solution by adding the following code to the app.yml file:
You could submit a PR to discourse_docker that added those headers via nginx (note: I have nothing to do with accepting a PR, but this seems reasonable).