Hi,

For our purposes, we need to be able to turn off etag under specific
conditions, e.g.:

location / {
    if ($condition) {
        etag off;
    }
}

However, this syntax is invalid because this directive doesn't include
the NGX_HTTP_LIF_CONF flag.

We added that flag. Then recompiled NGINX. So now:

* the syntax is accepted by NGINX
* at runtime it works as desired

Are there any potential problems with this approach? Performance or
otherwise?

Best regards,
Danila
_______________________________________________
nginx-devel mailing list -- nginx-devel@nginx.org
To unsubscribe send an email to nginx-devel-le...@nginx.org

Reply via email to