Compliments and question about NGINX-extras

First, I’ve been using and testing hestia for a week now and have to say, thus far I’m extremely impressed by what you’ve all done here! I’ve literally been trying almost all existing hosting-related control panels out there, even some paid ones, but this one is not only more secure, its config is way more user friendly than most others I’ve tried.

I’m now busy migrating users from ispconfig, so I fear I need to give them all a new password to change themselves, since they are hashed in dbispconfig database, but that’s not why I’m posting here now;

I’ve long been using a FancyIndex module on my former nginx servers, it creates beautiful opendir displays, and for that I used the module
libnginx-mod-http-fancyindex
which was in the nginx-extras package I believe. But I can’t get it installed in the hestia controlled nginx, or at least not without fear of ruining this wonderful panel;

~# apt install libnginx-mod-http-fancyindex
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nginx : Conflicts: nginx-common but 1.18.0-6.1+deb11u3 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Could you include it somehow in a next version release, or tell me how to get it in there safely?

Thanks in advance, and I will definitely donate for this panel!

You will need to downgrade to the repo version or build libnginx-mod-http-fancyindex yourself

You mean build it from source? If so, would it work OK in cooperation with hestia if I follow this install:

?

Yes, Becare full it needs to be redone for every release of nginx…

Have done it in the past for some other modules see GitHub - jaapmarcus/nginx-build for example…

This seems way easier;

~# apt install nginx-extras
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  geoip-database libgeoip1 libluajit-5.1-2 libluajit-5.1-common libnginx-mod-http-auth-pam libnginx-mod-http-cache-purge libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-fancyindex libnginx-mod-http-geoip libnginx-mod-http-geoip2
  libnginx-mod-http-headers-more-filter libnginx-mod-http-image-filter libnginx-mod-http-lua libnginx-mod-http-ndk libnginx-mod-http-perl libnginx-mod-http-subs-filter libnginx-mod-http-uploadprogress libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail
  libnginx-mod-nchan libnginx-mod-stream libnginx-mod-stream-geoip libnginx-mod-stream-geoip2 nginx-common
Suggested packages:
  geoip-bin fcgiwrap nginx-doc
The following packages will be REMOVED:
  nginx
The following NEW packages will be installed:
  geoip-database libgeoip1 libluajit-5.1-2 libluajit-5.1-common libnginx-mod-http-auth-pam libnginx-mod-http-cache-purge libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-fancyindex libnginx-mod-http-geoip libnginx-mod-http-geoip2
  libnginx-mod-http-headers-more-filter libnginx-mod-http-image-filter libnginx-mod-http-lua libnginx-mod-http-ndk libnginx-mod-http-perl libnginx-mod-http-subs-filter libnginx-mod-http-uploadprogress libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail
  libnginx-mod-nchan libnginx-mod-stream libnginx-mod-stream-geoip libnginx-mod-stream-geoip2 nginx-common nginx-extras
0 upgraded, 27 newly installed, 1 to remove and 0 not upgraded.
Need to get 6,622 kB of archives.
After this operation, 14.1 MB of additional disk space will be used.
Do you want to continue? [Y/n]

Does this impact hestia’s functionality in any negative way? As far as I know nginx (and I’ve been working with it for a looong time) and I’ve looked at the config you use, this makes no difference. Version 1.23.3 specific (newly introduced) features are not used by hestia, as far as I can tell.

I don’t think the new 1.23 functions so it should not affect it.

Haven’t really tested it yet…

It’s from 1.23.3 to 1.18.0, and the latter weirdly isn’t in the Mainline changelog; http://nginx.org/en/CHANGES
For now I’m on 1.18.0, but I do think 1.23 is better to have running, I’ll try and do the compile option later. I only need ngx_http_addition_module and libnginx-mod-http-fancyindex, meanwhile hoping nginx will release an extras package for mainline some day…

Just wanted to add that I decided to go back to the latest Mainline nginx through apt, and use
h5ai, a wonderful stand-alone solution: h5ai · modern HTTP web server index for Apache httpd, lighttpd, nginx and Cherokee · larsjung.de