Skip to content

Instantly share code, notes, and snippets.

@iamgeert
iamgeert / nginx.conf
Created August 29, 2018 05:56 — forked from taddev/nginx.conf
Nginx reverse proxy to Exchange 2010/2013
server {
listen 80;
#listen [::]:80;
server_name mail.gwtest.us autodiscover.gwtest.us;
return 301 https://$host$request_uri;
}
server {
listen 443;
#listen [::]:443 ipv6only=on;
@iamgeert
iamgeert / 0: Magento 1.12 Enterprise multi-store cluster configuration.md
Created November 19, 2017 19:02 — forked from parhamr/0: Magento 1.12 Enterprise multi-store cluster configuration.md
A highly available, fault tolerant, distributed, and load balanced LEMP cluster.
@iamgeert
iamgeert / cache-warmer.py
Created May 23, 2017 05:38 — forked from hn-support/cache-warmer.py
A threaded cache warmer in python
#!/usr/bin/env python
"""
Warm the caches of your website by crawling each page defined in sitemap.xml.
To use, download this file and make it executable. Then run:
./cache-warmer.py --threads 4 --file /data/web/public/sitemap.xml -v
"""
import argparse
import multiprocessing.pool as mpool
import os.path
import re