Serveur web, alternative à Apache
+
+ # aptitude install nginx
+ # nginx -v
+
+nginx version: nginx/1.10.3
+
+ Proxy et load-balancer TCP/HTTP/HTTPS
+ # apt install haproxy
+ # varnishd -v
+
+HA-Proxy version 1.7.5-2 2017/05/17
+Copyright 2000-2017 Willy Tarreau <willy@haproxy.org>
+
+
+global
+ log 127.0.0.1 local5 debug
+
+defaults
+ mode http
+
+listen www
+ bind *:80
+ balance roundrobin
+ option httpchk OPTIONS * HTTP/1.1\r\nHost:\ www.example.com
+ stats uri /haproxy-stats
+ stats auth foo:bar
+ server www00 192.0.2.1:80 maxconn 50 check inter 10s
+ server www01 192.0.2.2:80 maxconn 50 check inter 10s
+
+
+listen memcached 127.0.0.1:11211
+ option tcp-check
+ server nosql00 192.0.2.3:11211 check
+ server nosql01 192.0.2.4:11211 check backup
+
+listen mysql 127.0.0.1:3306
+ mode tcp
+ option mysql-check user haproxy_check
+ server sql00 192.0.2.1:3306 check
+
+Accélérateur web : cache et reverse-proxy
+
+# apt install varnish
+# varnishd -V
+
+varnishd (varnish-4.0.2 revision bfe7cd1)
+Copyright (c) 2006 Verdens Gang AS
+Copyright (c) 2006-2014 Varnish Software AS
+
+Varnish relaie les requêtes vers le port 8080 local.
+
+backend default {
+ .host = "127.0.0.1";
+ .port = "8080";
+}
+
+
+# varnishstat
+# varnishtop -i ReqURL
+# varnishlog
+# varnishnsca
+
+Filtres possibles
+
+# varnishlog -q 'TxHeader eq MISS' -q "ReqHeader \
+ ~ '^Host: example\.com$'" | grep RxURL
+# varnishncsa -q "ReqHeader eq 'X-Cache: MISS'"
+
+Langage de programmation très adapté au web.
+