d

Configuration

		location ^~ /download/ {
                alias /data/;
                charset utf-8;
                autoindex on;
                autoindex_exact_size on;
                autoindex_localtime on;
       	}

Permission Denied:

check user in the nginx.conf

check SELinux

#1. check if SELinux is running:
 getenforce
#To disable SELinux until next reboot:
 setenforce Permissive

nginx配置访问密码

https://blog.csdn.net/dream8062/article/details/78416234

你可能感兴趣的:(linux)