Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2021 00:32:27 GMT
From:      Allan Jude <allanjude@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: 863b9e26bf - main - Allow binding to interfaces other than loopback
Message-ID:  <202104270032.13R0WRGm016768@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by allanjude:

URL: https://cgit.FreeBSD.org/doc/commit/?id=863b9e26bfe6022ff4cbdbe3d81e27c1561870e0

commit 863b9e26bfe6022ff4cbdbe3d81e27c1561870e0
Author:     Allan Jude <allanjude@FreeBSD.org>
AuthorDate: 2021-04-27 00:31:37 +0000
Commit:     Allan Jude <allanjude@FreeBSD.org>
CommitDate: 2021-04-27 00:31:37 +0000

    Allow binding to interfaces other than loopback
    
    This is the same as fd2542a877f6ac5dab6f6d819c8319beeb53aa76
    except applied to the website Makefile instead of only documentation
    
    Sponsored-By:   Klara Inc.
---
 website/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/website/Makefile b/website/Makefile
index a4b6bf497a..cc4f66b22f 100644
--- a/website/Makefile
+++ b/website/Makefile
@@ -44,7 +44,7 @@ generate-releases: .PHONY
 	${PYTHON_CMD} ./tools/releases-toml.py -p ./shared/releases.adoc
 
 run-local: .PHONY
-	${HUGO_CMD} server -D --baseURL="http://$(.HOST):1313"
+	${HUGO_CMD} server -D $(BIND:D--bind=$(BIND)) --baseURL="http://$(.HOST):1313"
 
 build: .PHONY
 	${HUGO_CMD}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104270032.13R0WRGm016768>