Skip to content

Instantly share code, notes, and snippets.

View timogoebel's full-sized avatar

Timo Goebel timogoebel

View GitHub Profile
# 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[@]}]
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;