1.8.0
i asked support via nginx irc and they coudnt really help me since my config is right so im not sure why my server isnt setting expired date. since all my images are set to no expiration
this is on /usr/local/directadmin/data/user/nginx.conf
server
{
location ~* \.(jpg|jpeg|png|gif|ico|css|js|woff)$ {
expires 365d;
}
if (!-e $request_filename)
{
rewrite "^/(.*)$" "/forum/public/404.php";
}
if (!-e $request_filename)
{
rewrite "^/(.*)$" "/forum/index.php";
ive also tried adding this config on nginx-vhost but still not working
i asked support via nginx irc and they coudnt really help me since my config is right so im not sure why my server isnt setting expired date. since all my images are set to no expiration
this is on /usr/local/directadmin/data/user/nginx.conf
server
{
location ~* \.(jpg|jpeg|png|gif|ico|css|js|woff)$ {
expires 365d;
}
if (!-e $request_filename)
{
rewrite "^/(.*)$" "/forum/public/404.php";
}
if (!-e $request_filename)
{
rewrite "^/(.*)$" "/forum/index.php";
ive also tried adding this config on nginx-vhost but still not working