Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#78144 - [nginx] Enable ngx_http_random_index_module
Attached to Project:
Arch Linux
Opened by Alexander Tumin (iamtakingiteasy) - Friday, 07 April 2023, 23:16 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Saturday, 16 September 2023, 09:21 GMT
Opened by Alexander Tumin (iamtakingiteasy) - Friday, 07 April 2023, 23:16 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Saturday, 16 September 2023, 09:21 GMT
|
DetailsI would like to propose enabling nginx random index module ( http://nginx.org/en/docs/http/ngx_http_random_index_module.html ).
While not often required, it can be extremely useful whenever serving a random file from a directory is required, especially if said directory regularly updated. There is no simple alternatives that don't involve external implementations, whole scripting engines or enumerating every file in configuration individually, which may not be feasible on large file counts or frequent changes. Simply adding --with-http_random_index_module to ABS PKGBUILD is sufficient, but without standardized methods of customizing upstream PKGBUILDs on user side during updates, it renders the process cumbersome and updates risky, with high likelihood of temporary downtimes, hence this feature request, to avoid the need altogether. |
This task depends upon
Closed by Massimiliano Torromeo (mtorromeo)
Saturday, 16 September 2023, 09:21 GMT
Reason for closing: Implemented
Additional comments about closing: nginx-1.24.0-2
Saturday, 16 September 2023, 09:21 GMT
Reason for closing: Implemented
Additional comments about closing: nginx-1.24.0-2
[1] https://wiki.archlinux.org/title/Nginx#Compiling_with_additional_modules
[2] https://wiki.archlinux.org/title/Arch_Linux#Simplicity
Something so simple shouldn't force me to write a backend application.
Toolybird: I'm not sure the simplicity argument stands here. To paraphrase the wiki page you linked, the main point is to avoid unnecessary patching and changing default (runtime) configuration.
Arch is not a cookie-cutter minimalist distro, enabling build-time-optional features is normal, and I've had such requests fulfilled before.
The suggested workaround is not something I find particularly acceptable either, and it should probably be removed from the wiki. I'm pretty sure nginx-src is provided to build out-of-tree modules against, rather than building nginx (as root!) and running `make install` outside of pacman's control. I'm not a maintainer so please correct me if I'm wrong, but I've been using Arch for long enough to see a huge red flag here.