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 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 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 is a considered a different URL than

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

You can configure nginx to return instead of 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...