Can't make a simple configuration...

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


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,


Posted at Nginx Forum:,212661,212662#msg-212662

More information about the nginx mailing list