Displaying 2 results from an estimated 2 matches for "js_fetch_trusted_certificate".
2023 Sep 12
0
njs-0.8.1
...=60s;
:
: # to be run at 1 minute intervals in all worker processes
: js_periodic main.handler interval=60s worker_affinity=all;
:
: # to be run at 1 minute intervals in worker processes 1 and 3
: js_periodic main.handler interval=60s worker_affinity=0101;
:
: resolver 10.0.0.1;
: js_fetch_trusted_certificate /path/to/ISRG_Root_X1.pem;
: }
:
: example.js:
: async function handler(s) {
: let reply = async ngx.fetch('https://nginx.org/en/docs/njs/');
: let body = async reply.text();
:
: ngx.log(ngx.INFO, body);
: }
Learn more about njs:
- Overview and introduction:
https://ngi...
2024 Dec 10
0
njs-0.8.8
....8 10 Dec 2024
nginx modules:
*) Feature: implemented shared dictionary for QuickJS engine.
*) Improvement: js_preload_object is refactored.
*) Bugfix: fixed rate-limited output.
*) Bugfix: optimized use of SSL contexts for
js_fetch_trusted_certificate directive.
Core:
*) Feature: implemented process object for QuickJS engine.
*) Feature: implemented process.kill() method.
*) Bugfix: fixed tests with libxml2 2.13 and later.
*) Bugfix: fixed promise resolving when Promise is inherited.
*) Bugfix: fixed absolute...