git: 863b9e26bf - main - Allow binding to interfaces other than loopback

Allan Jude allanjude at FreeBSD.org
Tue Apr 27 00:32:28 UTC 2021


The branch main has been updated by allanjude:

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

commit 863b9e26bfe6022ff4cbdbe3d81e27c1561870e0
Author:     Allan Jude <allanjude at FreeBSD.org>
AuthorDate: 2021-04-27 00:31:37 +0000
Commit:     Allan Jude <allanjude at 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}


More information about the dev-commits-doc-all mailing list