directives not working

If the directives associated with files of a certain type do not work, first of all make sure that the extensions of these files are absent in list of static files... If the extensions are there, remove them and test the directives in about 15 minutes when the changes take effect.