Hey Guys,
Was wondering if anyone knows of possible way of having nginx sit in
front
and server up static requests for images and videos but everything else
proxy to apache. would this syntax work put the static files first and
then after that forward to apache on 8080?
serve static files directly
location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|html)$ {
access_log off;
expires 30d;
}
location / {
proxy_pass http://127.0.0.1:8080/;
proxy_redirect off;
thanks,
Frank