Hi, I have a web application built on web2py and I am serving static files through nginx. Now I want to add expire header to my static files but couldnt do it yet.
I have tried almost all the available solutions on internet.
I add expire header in web2py response but since static files are not serving through web2py therefore it does not apply expire headers to them.
I have also tried to add expire header through nginx using following command, but no luck:
uwsgi --static-expires-type text/css=3600 uwsgi --static-expires-type application/javascript=3600
I would appreciate any help in this regard