Arch Linux

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!
| Tasklist |

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 Toolybird (Toolybird) - Saturday, 08 April 2023, 21:55 GMT
Task Type Feature Request
Category Packages: Extra
Status Assigned
Assigned To Levente Polyak (anthraxx)
Giancarlo Razzolini (grazzolini)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

I 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

Comment by Toolybird (Toolybird) - Saturday, 08 April 2023, 21:55 GMT
Mentioned in the Wiki at [1]. See also Arch guiding principle numero uno [2]. I wouldn't get your hopes up.

[1] https://wiki.archlinux.org/title/Nginx#Compiling_with_additional_modules
[2] https://wiki.archlinux.org/title/Arch_Linux#Simplicity

Loading...