Skip to content

Instantly share code, notes, and snippets.

View kwypchlo's full-sized avatar

Karol Wypchło kwypchlo

  • Protocol Labs
  • Poland, Warsaw
  • 00:21 (UTC +02:00)
View GitHub Profile
#! /usr/bin/env bash
rm -rf logs
mkdir logs
all_log_files=""
for server in "germany" "helsinki" "us-east" "us-west";
do
scp -rpq user@${server}.siasky.net:skynet-webportal/docker/data/nginx/logs logs/${server}
for file in logs/${server}/*.gz; do gunzip -d ${file}; done
@kwypchlo
kwypchlo / nginx.md
Last active March 31, 2020 10:01
nginx