Tag: nginx

Nginx Display Active Connections

nginx-display-active-connections

How to watch nginx server status and connections requests per second under Linux or Unix like operating systems? For such a task nginx server has a module called HttpStubStatusModule. This module provides the ability to get some status from nginx. You will get the following information: Number of all open connections. Stats about accepted connections. …

Continue reading

Nginx HTTPOnly and Secure Cookie

Having HTTPOnly and Secure in HTTP response header can help to protect your web applications from cross-site scripting and session manipulation attacks. There are two ways to configure HTTPOnly Secure Cookie Attribute in Nginx. Be sociable 🙂 Share!

Continue reading

nginx SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch

This error can happen for a chain of certificates merged in one .crt file. The reason is that nginx tries to apply a private key to the first certificate in a crt file. nginx needs that the first certificate in a .crt file would be a server certificate. Thus the correct order in a .crt …

Continue reading