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
server { | |
listen *:80; | |
server_name kibana.domain.com; | |
access_log /var/log/nginx/kibana_access.log; | |
error_log /var/log/nginx/kibana_error.log; | |
location / { | |
root /var/www; | |
index index.html; |
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
# Says something comforting | |
function comfort() { | |
messages[0]="I hear you." | |
messages[1]="I'm sorry. That's a bummer." | |
messages[2]="That blows." | |
messages[3]="Ouch. Okay, let's take a deep breath together." | |
messages[4]="Damn. Sounds like you're having a rough day." | |
messages[5]="Hey, we'll get through this together." | |
messages[6]="Aw man." | |
ind=$[$RANDOM % ${#messages[@]}] |