Welcome! Log In Create A New Profile

Advanced

Re: Can't make a simple configuration...

July 19, 2011 06:20PM
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
Subject Author Posted

Can't make a simple configuration...

Yaşar Arabacı July 19, 2011 05:52PM

Re: Can't make a simple configuration...

locojohn July 19, 2011 06:20PM

Re: Can't make a simple configuration...

Ensiferous July 20, 2011 11:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 165
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready