-- |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