diff options
author | Arun Isaac | 2023-07-28 16:17:30 +0100 |
---|---|---|
committer | Arun Isaac | 2023-08-09 21:29:12 +0100 |
commit | b6d843c2dd619625e794ab9a653756d3cc15068c (patch) | |
tree | 52ceaedfc0a31cf86b8c120898f0d10852a6d7ea /guix/forge | |
parent | d6668221e7ce7b1b1074cb1bb1092bb6e44ec0ac (diff) | |
download | guix-forge-b6d843c2dd619625e794ab9a653756d3cc15068c.tar.gz guix-forge-b6d843c2dd619625e794ab9a653756d3cc15068c.tar.lz guix-forge-b6d843c2dd619625e794ab9a653756d3cc15068c.zip |
gunicorn: Support <forge-host-socket> sockets.
* guix/forge/gunicorn.scm (socket->gunicorn-bind): Support
<forge-host-socket> sockets.
* doc/forge.skb (Reference): Document it.
Diffstat (limited to 'guix/forge')
-rw-r--r-- | guix/forge/gunicorn.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guix/forge/gunicorn.scm b/guix/forge/gunicorn.scm index 0bd9461..0f7ec91 100644 --- a/guix/forge/gunicorn.scm +++ b/guix/forge/gunicorn.scm @@ -123,6 +123,8 @@ (define socket->gunicorn-bind (match-lambda + (($ <forge-host-socket> hostname port) + (string-append hostname ":" port)) (($ <forge-ip-socket> (? ipv4-address? ip) port) (string-append ip ":" (number->string port))) (($ <forge-ip-socket> (? ipv6-address? ip) port) |