I know, nginx can act as a reverse proxy to cache files if provided with a backend.
The thing is, I already use nginx as a web-server, serving files (statics and php), and I want to know if it's possible for nginx to act as a proxy_cache with his own files ? I know it'll not work if I put the nginx itself as an upstream.
The classic thing is : nginx => apache backend => cached_result
What I want : nginx => same nginx instance => cached_result
Is it possible ? And if so, how ?