Nginx and ETag/If-None-Match

Events happening in the community are now at Drupal community events on www.drupal.org.
superfedya's picture

Hi,

Somebody know if ETag/If-None-Match headers works with Nginx?

With Apache I can add this code:

RewriteRule .* - [E=HTTP_IF_MODIFIED_SINCE:%{HTTP:If-Modified-Since}]
RewriteRule .* - [E=HTTP_IF_NONE_MATCH:%{HTTP:If-None-Match}]

But how I can do that with Nginx?

Thanks

Comments

I got the answer and don't

superfedya's picture

I got the answer and don't know how exactly to use it:
http://serverfault.com/questions/511538/nginx-and-if-modified-since-if-n...

Any ideas?

Nginx

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: