szabgab / CPAN-Digger

CPAN Digger to analyze CPAN modules and other Perl-based applications
https://cpan-digger.perlmaven.com/
7 stars 3 forks source link

Stats ribbon-menu-item gets 500 error #34

Closed n1vux closed 1 year ago

n1vux commented 1 year ago

To Reproduce:

On homepage, click Stats to the right of Rocks.

Result: 500 Internal Server Error

szabgab commented 1 year ago

I remove that link till the stats page gets rebuilt. It is unclear though why does nginx give a 500 error on a missing static page....

Maybe I configured it that way...

szabgab commented 1 year ago

Apparently the correct way to serve pages without .html ending in nginx is this:

try_files $uri.html $uri $uri/ =404;

and not what I had.

So now at least the page gives 404. That's better.

szabgab commented 1 year ago

And now the link has been removed as well. Thanks for reporting.