Category: Nginx

nginx-logo

Nginx change server attribute in HTTP response header

Changing your server attribute sent with every HTTP response header can positively affect your security. Because some hackers examine your response headers in search for particular versions with known vulnerabilities so they can exploit them. In the...
nginx-logo

Nginx Redirect IP address to domain name

Preferred canonical Url A canonical link helps search engines prevent duplicate content. The duplicate content problem rises when a webpage is accessible by multiple URLs. For example http://www.example.com is a considered a different URL than http://example.com....
nginx-logo

Nginx redirect no-www to www and www to no-www

You can configure nginx to return http://example.com instead of http://www.example.com and vice versa. This setting is important because you want your want your visitors to both access your website via www an no-www. Nginx redirect...