Browse By

nginx

Use NginX as reverse proxy

This custom setup assumes that we have a room to play around with single dedicated server and two web servers running on different ports and there will be only one app/website to host we won’t have to think about virtual hosts other than what nginx

logs-cleanup

Automatic logs cleanup

Cleaning up access logs, in terms of removing them or compressing for external storing, is vital to maintain proper server functionality by keeping space freed up as much as possible. Below is a python script that is triggered on cron schedule, although, it can be

charts

Create&Call remote monitoring service

This is an example of a simple authentication method with monitoring script that is measuring the page performance using phantomas toolkit and MTR for capturing any packet loss occurrence on monitored server. Of course, this can be extended per individual need, followwing example is mainly