location /phpmyadmin/ {
allow all;
root /opt/data;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
这是我为 phpmyadmin 配置的 ngnix,它可以运行,但是主题文件夹中包含 images/css/js 的子文件夹“拒绝访问”,我试图将其设置为chmod 777
,但没有帮助,请问有什么提示吗?