Can't make a simple configuration...

locojohn nginx-forum at nginx.us
Tue Jul 19 22:20:03 UTC 2011


Hello!

The reason being that the asterisk "*" is irrelevant in the PCRE (Perl
Regex syntax) expression for what you intend it to do.  

Try the following, instead (no regex):

location /static/ {
  root /home/yasar/public_html;
}

Hope it helps,

Andrejs

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,212661,212662#msg-212662




More information about the nginx mailing list