can't get cache controle to set an expire date

Patrick Aljord patcito at gmail.com
Sat Sep 17 00:09:32 UTC 2011


2011/9/16 Maxim Dounin <mdounin at mdounin.ru>:
>    location /_files/ {
>        expires max;
>        proxy_pass http://foo_app_server;
>        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>        proxy_set_header Host $http_host;
>    }
>


Thanks! That worked great.



More information about the nginx mailing list