X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=Network%2FHTTP%2FLucu%2FConfig.hs;fp=Network%2FHTTP%2FLucu%2FConfig.hs;h=cb3f4a8b4b5e68f6e9e105ed9d0e4624ceb209ae;hb=511b688492a4ddc489f4d45366ff967e9ec1cb0a;hp=29c560891ebec2f9d13b38bca91f9ce2d77436ae;hpb=687454c6873ae24bbcf010a491b37746db0da8ea;p=Lucu.git diff --git a/Network/HTTP/Lucu/Config.hs b/Network/HTTP/Lucu/Config.hs index 29c5608..cb3f4a8 100644 --- a/Network/HTTP/Lucu/Config.hs +++ b/Network/HTTP/Lucu/Config.hs @@ -29,16 +29,16 @@ data Config = Config { -- |A port number (or service name) to listen to HTTP clients. , cnfServerPort :: !ServiceName - -- |Local IPv4 address to listen to HTTP clients. Set this to - -- @('Just' "0.0.0.0")@ if you want to accept any IPv4 - -- connections. Set this to 'Nothing' to disable IPv4. + -- |Local IPv4 address to listen to both HTTP and HTTPS + -- clients. Set this to @('Just' "0.0.0.0")@ if you want to accept + -- any IPv4 connections. Set this to 'Nothing' to disable IPv4. , cnfServerV4Addr :: !(Maybe HostName) - -- |Local IPv6 address to listen to HTTP clients. Set this to - -- @('Just' "::")@ if you want to accept any IPv6 connections. Set - -- this to 'Nothing' to disable IPv6. Note that there is currently - -- no way to assign separate ports to IPv4 and IPv6 server - -- sockets. + -- |Local IPv6 address to listen to both HTTP and HTTPS + -- clients. Set this to @('Just' "::")@ if you want to accept any + -- IPv6 connections. Set this to 'Nothing' to disable IPv6. Note + -- that there is currently no way to assign separate ports to IPv4 + -- and IPv6 server sockets. , cnfServerV6Addr :: !(Maybe HostName) -- |Configuration for HTTPS connections. Set this 'Nothing' to