Hi guys,

In my configuration I'm using return directive from http_rewrite module. I'd
also like to enable etag to speed things up. Sadly, so far didn't manage to
get it to work. Is such configuration even possible?

If I hash out "return...", etag works like a charm.

server {
        listen 80 default_server;
        root /var/www/html;
        index index.nginx-debian.html;

        default_type application/json;
        etag on;
        return 200 'xxx';
}

Debian 9.4, nginx-light 1.10.3-1+deb9u1.

Thanks in advance for any thoughts.

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,279680,279680#msg-279680

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to