- Backup current configuration
mkdir -p /root/varnish && cp -rv /etc/varnish /root/varnish && cp /etc/default/varnish /root/varnish/varnish-default
- Install varnish key and repo from packagecloud:
| frontend https-in | |
| mode tcp | |
| bind *:443 ssl crt /etc/ssl/dummy.pem alpn h2,http/1.1 | |
| use_backend nodes-http2 if { ssl_fc_alpn -i h2 } | |
| default_backend nodes-http | |
| backend nodes-http | |
| server node1 web.server:80 check | |
| backend nodes-http2 |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <link href='http://fonts.googleapis.com/css?family=Lato:400,700,900' rel='stylesheet' type='text/css'> | |
| <meta charset="utf-8"> | |
| <title>JS Bin</title> | |
| <style id="jsbin-css"> | |
| html { | |
| background: #fff; | |
| } |
| ;; emacs configuration | |
| (push "/usr/local/bin" exec-path) | |
| (add-to-list 'load-path "~/.emacs.d") | |
| (setq make-backup-files nil) | |
| (setq auto-save-default nil) | |
| (setq-default tab-width 2) | |
| (setq-default indent-tabs-mode nil) | |
| (setq inhibit-startup-message t) |
| #!/usr/bin/env bash | |
| set -e | |
| if [ -z "$iso" ] ; then | |
| printf -- ">>> You must invoke with iso=/path/to/winxp.iso $(basename $0)\n" | |
| exit 1 | |
| fi | |
| if [ -z "$url" ] ; then |
| ZFSOnLinux Benchmark On Stock Hardware | |
| ====================================== | |
| Hardware | |
| -------- | |
| - Supermicro X8DTL | |
| - 92GB RAM | |
| - LSI 9211-4i HBA | |
| - WD3000F9YZ 6Gbps 3TB x 4 HDDs |