Topic: unit - JavaScript module enabled
Is there any chance to enable JavaScript module in Nginx Unit? https://unit.nginx.org/howto/source/#source-njs
You are not logged in. Please login or register.
Please STOP WAR NOW! | |
For proper configuration and installation, please use the Configuration Wizard |
Versions: PHP ≤ 8.0 is EOL - PHP 8.1.28 - PHP 8.2.18 - PHP 8.2.19RC1 - PHP 8.3.6 - PHP 8.3.7RC1
More information: #remirepo IRC channel - Twitter: @RemiRepository - Discord server
Remi's RPM repository - Forum → User support → unit - JavaScript module enabled
Is there any chance to enable JavaScript module in Nginx Unit? https://unit.nginx.org/howto/source/#source-njs
Hi,
> Is there any chance to enable JavaScript module in Nginx Unit?
Sorry, but no.
My repository is dedicated to PHP
Nginx Unit is there only for its php modules
You can probably use upstream RPMs of nginx and modules
and my php modules if you need them.
If someone else will struggle with this issue, there is option to use official repository from Nginx team and just unit-php from Remi repo. In order to do this, simply add exclude to remi-safe repo file.
I was able to look at le libnjs thing
Package is mostly ready
Should be able to provide a new "unit" build shortly
I will appreciate a test to see if it fixes your issue.
Please try unit-1.31.1-3.remi which have njs enabled
Notice:
https://github.com/nginx/njs/issues/691
https://github.com/nginx/unit/pull/1036
Very stupid question, but how to install it? "dnf upgrade --refresh" doesn't give me this package. Was looking for any info about test repository, but didn't found anything. I'm eager to test it and provide feedback
Probably have to wait for the used mirror to be synced (usually from a few minutes to a few hours)
Or install from manual download (can't give the link, don't know which distro/version/arch you are running)
OK, I'll try later then. Anyway, I saw that remi repo has testing option. Remi-safe doesn't have test variant?
And btw I'm using AlmaLinux 9 (el9_3.x86_64). But I'll simply wait for mirror to refresh.
Else https://rpms.remirepo.net/enterprise/9/ … /unit.html
I can confirm that update works properly. Thank you! Now it's possible to use JS configuration syntax.
Thanks for the feedback
Remi's RPM repository - Forum → User support → unit - JavaScript module enabled
Generated in 0.005 seconds (61% PHP - 39% DB) with 10 queries
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 2 official extensions. Copyright © 2003–2009 PunBB.