• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

nginx error

ankurs

Well-known member
#1
PC with only characters like ! . , results in "403 Forbidden" erorr

example url http://www.domain.com/conversations/.1234/unread

from error.log
Code:
[error] 53402#0: *1791175 access forbidden by rule, client: x.x.x.x., server: www.domain.com, request: "GET /conversations/.1234/unread HTTP/1.1", host: "www.domain.com"
this is my conf
Code:
location / {
        try_files                      $uri $uri/ /index.php?$uri&$args;
}
 
location /(data|internal_data|library)/ {
  internal;
}
 
location ~ \.php$ {
        #try_files $uri /index.php
        fastcgi_pass    127.0.0.1:9000;
        fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include        fastcgi_params;
}