Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
133 views
in Technique[技术] by (71.8m points)

Fancyindex in Nginx not working after install successfully and config?

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.

question from:https://stackoverflow.com/questions/65912714/fancyindex-in-nginx-not-working-after-install-successfully-and-config

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...