2 ms·
Hey, this is pretty cool to see! Here's a page with the features: https://unit.nginx.org/keyfeatures/ https://unit.nginx.org/keyfeatures/ The languages suppor
by KronisLV 3y ago
Hey, this is pretty cool to see!
Here's a page with the features: https://unit.nginx.org/keyfeatures/ https://unit.nginx.org/keyfeatures/
The languages supported, if anyone is curious:
Binary-compiled languages in general: using the embedded libunit library.
Go: by overriding the http module.
JavaScript (Node.js): by automatically overloading the http and websocket modules.
Java: by using the Servlet Specification 3.1 and WebSocket APIs.
Perl: by using PSGI.
PHP: by using a custom SAPI module.
Python: by using WSGI or ASGI with WebSocket support.
Ruby: by using the Rack API.
WebAssembly: by using Wasmtime.
I'm currently using Apache as a reverse proxy for most apps and sometimes PHP-FPM when I need to run software with PHP, which works well for my personal needs (mod_md and mod_auth_openidc are pretty cool), but it's cool to see something similarly interesting to OpenResty coming along as well, too!