Получи случайную криптовалюту за регистрацию!

The NGINX JavaScript module (njs) became generally available a | CatOps

The NGINX JavaScript module (njs) became generally available as a stable module in NGINX Open Source 1.11.10 and NGINX Plus R12.

With this module you can execute event-driven JS code on your Nginx edges. This article also contains a list of use cases for that. Among them:

- Response filtering
- Request body validation
- Masking the real client IP and other request parameters
- Issuing an HTTP request to two different backends simultaneously, then forwarding the first response and ignoring the second; adding data integrity to application cookies
- Progressively Transition Clients to a New Server

#nginx #web