Note: Recently, when setting up hexo, I finished all the work. I found that nginx reported 403 Forbidden. I checked the log of nginx
Log information is recorded as follows:
*481 directory index of “/home/www/hexo/” is forbidden~~~~~~
Solution: go to the configuration file nginx.conf in the nginx conf directory Conf plus configure autoindex on; Automatic indexing
Restart ngxin
Similar Posts:
- Nginx Error: Nginx 403 error:directory index of “xxx“ is forbidden
- How to Solve Nginx error: 403 Forbidden
- [Solved] Nginx Restart Error: nginx: [error] open() “/usr/local/nginx/logs/nginx.pid” failed (2: No such file or directory)
- [Solved] Nginx Log Error: open() “/opt/Nginx/nginx/nginx.pid” failed (2: No such file or directory)
- Nginx Error: nginx: [emerg] “server” directive is not allowed here in
- nginx: [error] open() “/usr/local/nginx/logs/nginx.pid“ failed (2: No such file or directory)
- [Solved] Nginx restart error: nginx: [error] open() “/run/nginx.pid” failed (2: No such file or directory)
- Nginx Error: nginx: [error] CreateFile() “D:\nginx-1.20.1/logs/nginx.pid” failed (2: The system cannot find the file specified)
- [Solved] Nginx: [error] open() "/usr/local/Nginx/logs/Nginx.pid
- PHP FPM and Nginx start normally, page 502 Error [How to Solve]