Skip to content

Instantly share code, notes, and snippets.

View Friz-zy's full-sized avatar
🏠
Working from home

Filipp Frizzy Friz-zy

🏠
Working from home
View GitHub Profile
@Friz-zy
Friz-zy / http-benchmark.md
Created February 2, 2024 12:54 — forked from denji/http-benchmark.md
HTTP(S) Benchmark Tools / Toolkit for testing/debugging HTTP(S) and restAPI (RESTful)
@Friz-zy
Friz-zy / nginx_custom_log_with_elk_filebeat.conf
Last active July 15, 2019 15:24
elk filebeat nginx custom log format
log_format custom '$remote_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent" '
'key1=value1 key2=value2 keyN=valueN';
@Friz-zy
Friz-zy / nginx_with_cache.conf
Last active April 16, 2023 22:02
Nginx cache example config
# Based on articles:
# https://ruhighload.com/%D0%9A%D1%8D%D1%88%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5+%D1%81+nginx
# https://wiki.enchtex.info/practice/nginx/cache
# https://gist.github.com/yanmhlv/5612256
# https://nginx.org/en/docs/http/ngx_http_fastcgi_module.html
# https://blog.runcloud.io/2017/10/28/nginx-caching-tutorial-wordpress.html
# https://www.digitalocean.com/community/tutorials/how-to-setup-fastcgi-caching-with-nginx-on-your-vps
# https://easyengine.io/wordpress-nginx/tutorials/single-site/fastcgi-cache-with-purging/
@Friz-zy
Friz-zy / bootable.sh
Created July 2, 2017 20:42
Script for extracting linux bootable iso into usb drive
#!/bin/sh
usage ()
{
echo 'Usage : bootable.sh <path to iso> <device for install like /dev/sdb>'
echo 'This script install linux bootable iso into first partition of your usb flash drive'
echo 'You need root privileges for run this script'
exit 0
}