Code: Select all
try_files $uri $uri/ /app.php?$query_string;
server
block or location
which is related to your phpBB board (the latter is preferred I assume).Code: Select all
location /app.php {
try_files $uri $uri/ /app.php?$query_string;
}
Code: Select all
2016/12/23 23:02:27 [error] 169#169: *59 open() "/usr/share/nginx/html/forum/app.php/ajaxshoutbox/post" failed (20: Not a directory), client: myip, server: localhost, request: "POST /forum/app.php/ajaxshoutbox/post HTTP/1.1", host: "www.myforum", referrer: "http://www.myforum/forum/index.php?sid=a711f9003f9dcb9988be5de76c97466c"
2016/12/23 23:11:11 [error] 169#169: *60 open() "/usr/share/nginx/html/forum/app.php/ajaxshoutbox/post" failed (20: Not a directory), client: myip, server: localhost, request: "POST /forum/app.php/ajaxshoutbox/post HTTP/1.1", host: "www.myforum", referrer: "http://www.myforum/forum/index.php?sid=a711f9003f9dcb9988be5de76c97466c"