https://help.ubuntu.com/13.10/installation-guide/i386/apbs02.html
Boot options (when booting the CD/USB/netboot installation media):
... preseed/url=http://github.com/porty/pxe-things/???.seed
The preseed file:
d-i debian-installer/locale string en_AU
d-i keyboard-configuration/layoutcode string us
d-i mirror/protocol string http
d-i mirror/country string manual
d-i mirror/http/hostname string mirror.internode.on.net/
d-i mirror/http/directory string /pub/ubuntu
d-i mirror/http/proxy string
d-i clock-setup/utc boolean true
d-i time/zone string Australia/Sydney
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string au.pool.ntp.org
d-i user-setup/encrypt-home boolean false
d-i apt-setup/restricted boolean true
d-i apt-setup/universe boolean true
tasksel tasksel/first multiselect standard
# is it required to put openssh-server here?
d-i pkgsel/include string openssh-server git
d-i grub-installer/only_debian boolean true
Nginx config for caching proxy server
worker_processes  1;
error_log logs/error.log;
events {
	worker_connections 50;
}
http {
	include mime.types;
	default_type application/octet-stream;
	sendfile on;
	keepalive_timeout 65;
	gzip on;
	proxy_cache_path cache-goes-here levels=1:2 keys_zone=cachey:50m;
	server {
		listen 8080;
		location / {
			resolver 8.8.8.8;
			proxy_pass http://$http_host$uri$is_args$args;
			proxy_cache cachey;
			proxy_max_temp_file_size 2048m;
		}
		error_page 500 502 503 504 /50x.html;
		location = /50x.html {
			root html;
		}
	}
}