comparison configuration.js @ 9:9360b78c7a5b

Add WebHost configuration, and default it to both IPv6 and IPv4.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 22 May 2011 23:10:02 +0200
parents e0cd5ede76af
children
comparison
equal deleted inserted replaced
8:e0cd5ede76af 9:9360b78c7a5b
31 config.port = 5347; 31 config.port = 5347;
32 32
33 // Root of the webservice, useful if you want to proxy it. 33 // Root of the webservice, useful if you want to proxy it.
34 config.webRoot = '^/avatar/'; 34 config.webRoot = '^/avatar/';
35 35
36 // It is the port on which the web service will listen. If you want a 36 // These are the host and the port on which the web service will
37 // port < 1024, you have to start it as root, use a proxy or redirect 37 // listen. If you want IPv4 connection only, instead of both IPv4 and
38 // it using a firewall like iptables. 38 // IPv6, replace '::' by '0.0.0.0'. If you want a port < 1024, you
39 // have to start it as root, use a proxy or redirect it using a
40 // firewall like iptables.
41 config.webHost = '::';
39 config.webPort = 8032; 42 config.webPort = 8032;
40 43
41 // Directory for the cache of the images. 44 // Directory for the cache of the images.
42 config.directory = 'data'; 45 config.directory = 'data';
43 46