Category: Servers

tomcat tutorials

Monitor Tomcat with JMX and jConsole

This tutorial shows how to monitor Tomcat with JMX via jConsole. Monitoring is a key aspect for developers or system administrators. Looking inside a running server, obtaining some statistics like: Heap / Non-heap memory...
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...