Strange problem with expires?

Grzegorz Kulewski gk at leniwiec.biz
Tue Mar 1 20:40:48 UTC 2022


Hello,

I am using nginx 1.21.0 to serve static files for one domain and when I have:

                location = / {
                        expires epoch;
                }

expire headers are not added for / but when I remove '=' they are.

Is this some bug or just me doing something stupid?

Can anybody reproduce it too?

-- 
Grzegorz Kulewski



More information about the nginx mailing list