Having issues with nginx / root captures (0.7.53)

Michael Shadle mike503 at gmail.com
Fri May 1 10:26:05 MSD 2009


2009/4/30 Igor Sysoev <is at rambler-co.ru>:

>         include /etc/nginx/expires.conf;
>
> this "html" is captured.

yep

# cat expires.conf
location ~* \.(jpg|jpeg|gif|css|png|js|ico|html)$ {
        expires max;
        access_log off;
}

so ... how can i use root captures but still have these other options?

make a location / {} block and then put the sub-includes in with it?





More information about the nginx mailing list