I have install fancyindex module in Nginx 1.14.2 following https://www.nginx.com/resources/wiki/extending/converting/ . After installing, I check
nginx -V
and ls folder in --modules-path and saw:
ngx_http_fancyindex_module.so ngx_http_upload_module.so
And I have add
load_module /etc/nginx/modules/ngx_http_fancyindex_module.so;
in nginx.conf and
location /database { auth_basic "Restricted"; auth_basic_user_file /u01/app/.htpasswd; try_files $uri $uri/ =404; autoindex_localtime on; fancyindex on; fancyindex_exact_size off; fancyindex_default_sort date; }
on location config. But nothing is happen. I check error log file but saw nothing. How can I find out what is wrong? Thanks.
2.1m questions
2.1m answers
60 comments
56.9k users