blob: 886b78fc8242d430cf885923f2d5755cc6223960 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{
mkEndpoint = domain: port: ssl: {
host = domain;
localPort = port;
useSsl = ssl;
publicPort =
if ssl then
443
else if domain == "localhost" then
port
else
80;
};
}
|