اضافه کردن یک بلوک سفارشی سفارشی به Node JS؟

من یک نسخه اصلاح شده openssl با یک TLS سفارشی سفارشی دارم که آزمایش می کنم. چگونه می توانم از آن در Node JS استفاده کنم؟

من نسخه اصلاح شده openssl را به Node JS با استفاده از LD_LIBRARY_PATH اشاره کرده ام.

من سعی کردم تعیین رمز رمزگذاری TLS با استفاده از - -tls-cipher-list گزینه بی فایده است. با این حال من می توانم از دستور openssl ciphers

لیست کنم.

Nginx Tutorial – Proxy to Express Application, Load Balancer, Static Cache Files

Nginx Tutorial - Proxy to Express Application, Load Balancer, Static Cache Files



Nginx ROCKS! In this Nginx Tutorial, we’re going to setup Nginx to receive http requests to our domain name (port 80), then proxy to our Express.js Node.js App, which is running on port 3000.

View Nginx Configuration Code here:

We’re also going to set it up Nginx load balancing, so the http requests will get evenly distributed between all of our servers.
See full documentation on Load Balancing (upstream) here:

Lastly, we’re going to setup static file caching on Nginx, so our css, js and image files are only served from our Node.js application the first time…this DRASTICALLY improves application performance.

لینک دانلود