Hello,
I have 2 servers with plesk 12.0.18 and 12.5.30
I want to add expire header.
I tried this below on additional directive on the domain plesk config :
all the images with dynamic rewrite url disappear.
My rewrite rules are in a htacces so i don't check php with nginx.
Do you have an idea how can i do ?
Regards
I have 2 servers with plesk 12.0.18 and 12.5.30
I want to add expire header.
I tried this below on additional directive on the domain plesk config :
Code:
location ~* \.(jpg|jpeg|gif|png|css|js|ico|xml)$ {
access_log off;
log_not_found off;
expires 30d;
}
all the images with dynamic rewrite url disappear.
My rewrite rules are in a htacces so i don't check php with nginx.
Do you have an idea how can i do ?
Regards