Configuring Cloudflare’s CF-Connecting-IP Header

Since when Cloudflare proxy is enabled, requests to the web server will come from Cloudflare servers, and not directly from users, you need to configure the CF-Connecting-IP header, which transmits the user’s real IP address. After configuration, it will be displayed as before in logs and requests.

Continue reading “Configuring Cloudflare’s CF-Connecting-IP Header”

How to disable TLS 1.0 and TLS 1.1 in Nginx

The TLS 1.0 protocol appeared in 1999, TLS 1.1 in 2006, and they will both be considered obsolete in 2020, and will also have to be removed from support in various browsers around March 2020, so you need to disable them. Similarly, SSL 2.0, SSL 3.0 protocols were previously outdated.

Continue reading “How to disable TLS 1.0 and TLS 1.1 in Nginx”

Nginx. Parameter default_server

The default_server parameter defines the default server to which a client request will be sent in which the host field is empty or an unknown domain is specified in it. For example, when a client opens the server IP address in a browser, or when the server has several domains, for example, ixnfo.com, test1.ixnfo.com, test2.ixnfo.com, but not all domains are specified in the ngixn configuration.

Continue reading “Nginx. Parameter default_server”