Hi all! I'm newbee in litespeed and apache, and read couple of articles here and in the google before but, it doesn't work's for me.
Please give me advice how to rewrite rules for litespeed within such nginx config:
Please give me advice how to rewrite rules for litespeed within such nginx config:
location /uploads/ {
root /var/www/mysite;
location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar|woff)$ {
access_log off;
expires 360d;
try_files $uri =404;
}
}
location / {
try_files $uri $uri/ /index.php?$args;
location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar|woff)$ {
access_log off;
expires 360d;
try_files $uri =404;
}
}
server_name mysite.com *.mysite.com;
root /var/www/mysite;
location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar|woff)$ {
access_log off;
expires 360d;
try_files $uri =404;
}
}
location / {
try_files $uri $uri/ /index.php?$args;
location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar|woff)$ {
access_log off;
expires 360d;
try_files $uri =404;
}
}
server_name mysite.com *.mysite.com;