This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vcl 4.0; | |
import std; | |
import directors; | |
backend server1 { # Define one backend | |
.host = "localhost"; | |
.port = "8080"; | |
.max_connections = 300; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?PHP | |
/** | |
* pingdom.php | |
* | |
* This application will check your server swap, hard drive, cpu, and MySQL conditions. | |
* It will then generate an appropriate XML file for a Pingdom HTTP Custom check. | |
* | |
* If any usage is above your preset thresholds, then a down message will be returned, | |
* indicating that your server may be under more load than usual, hopefully, providing | |
* a bit of advanced notice before a true failure due to lack of resources |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<title>Site Maintenance</title> | |
<style> | |
body { text-align: center; padding: 150px; } | |
h1 { font-size: 50px; } | |
body { font: 20px Helvetica, sans-serif; color: #333; } | |
article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
a { color: #dc8100; text-decoration: none; } | |
a:hover { color: #333; text-decoration: none; } | |
</style> |