Hi. I'm new to nginx and I just can't get this working - to all the static files i want to access (in this case of configuration - all images), i get 403 Forbidden error. File permissions on the server are ok for sure and this is from my only enabled site; nginx.config does nothing special with locations - it just includes enabled site
[code]
server {
location / {
index index.php index.html index.htm;
try_files $uri $uri/ /index.php?q=$uri&$args;
}
location ~ \.php$ {
include /etc/nginx/fastcgi_php;
}
location ~* \.(gif|jpg|jpeg|png) {
allow all;
}
}
[/code]