Re: Nginx not caching the content when the response is just a plain text string

2017-06-22 Thread Maxim Dounin
Hello! On Thu, Jun 22, 2017 at 03:51:21AM -0400, rebaca wrote: [...] > I am trying to access the link "localhost/cache1/sample.txt" which hits > serverX. serverX then finds that the file is not present, takes it as MISS, > and then forwards the request probably as > 'localhost:8111/custom/sample

Nginx not caching the content when the response is just a plain text string

2017-06-22 Thread rebaca
SUMMARY: Nginx not caching the content when the response is just a plain text string DETAILS: Below shows the connection between entities: [ client ] <---> [ serverX ] <---> [ serverY ] serverX and serverY both are virtual nginx servers on same machine. serverX - proxy handler i