nginx.conf 305 Bytes
Newer Older
Carlo Landmeter's avatar
Carlo Landmeter committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
server {
	listen 80 default_server;
	server_name localhost;
	root /var/www/html;

	set_real_ip_from  10.0.0.0/8;
	set_real_ip_from  172.16.0.0/12;
	set_real_ip_from  192.168.0.0/16;
	real_ip_header    X-Forwarded-For;
	real_ip_recursive on;

	location / {
		autoindex on;
		autoindex_exact_size off;
	}
}