Update about FLASK: as you indicated in: I am using errorhandler decorator, but returning a template in the handler function: @application.errorhandler(404) def error_404(e): application.logger.error('Page Not Found: %s', (request.path)) #return render_template('404.html'), 404 return render_template("404.html", error = str(e)) In this situation, it is not clear to meby gg4u - Nginx Mailing List - English
thank you Maxim, I ll try with your suggestions. So basically, if I have a "production" server and a proxy server in front of it, I just need cache on the proxy server (http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_valid) , and not cache responses on the production server? I have this setting on production server: # Set Cache for my Json apby gg4u - Nginx Mailing List - English