nginxをWebサーバーとしてOpencartをセットアップしましたが、アクセスしようとすると が表示されますdomain.com/が403 Forbidden、アクセスdomain.com/index.phpすると正常に動作します。
私のnginx仮想ホストファイルは次のようになります(一部):
location / {
index index.html index.php index.htm;
try_files $uri @opencart;
}
location @opencart {
rewrite ^/(.+)$ /index.php?_route_=$1 last;
}
私が見逃しているのは何ですか?