Hi,
Does the Nginx WebServer serve the Static Content eg. .gif .jpg?
I have installed mod_status and find a lot "static" request in the Apache.
As a temporary solution i set in the last_nginx.conf for each Domain:
But how can i set this to the Custom Template? I can not find any Variable for root /var..........
Thanks a lot
Does the Nginx WebServer serve the Static Content eg. .gif .jpg?
I have installed mod_status and find a lot "static" request in the Apache.
As a temporary solution i set in the last_nginx.conf for each Domain:
location ~* ^.+.(jpe?g|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js|swf|avi|mp3)$ {
expires max;
root /var/www/vhosts/domain.com/httpdocs;
}
But how can i set this to the Custom Template? I can not find any Variable for root /var..........
Thanks a lot