about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--guix/forge/nginx.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/forge/nginx.scm b/guix/forge/nginx.scm
index f0d3c34..c932187 100644
--- a/guix/forge/nginx.scm
+++ b/guix/forge/nginx.scm
@@ -66,9 +66,9 @@ configuration (for example, in the @code{listen} and
     (($ <forge-ip-socket> (or "0.0.0.0" "::") port)
      (number->string port))
     (($ <forge-ip-socket> (? ipv4-address? ip) port)
-     (string-append ip ":" port))
+     (string-append ip ":" (number->string port)))
     (($ <forge-ip-socket> (? ipv6-address? ip) port)
-     (string-append "[" ip "]" ":" port))
+     (string-append "[" ip "]" ":" (number->string port)))
     (($ <forge-unix-socket> path)
      (string-append "unix:" path))))