aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinsoo Choo <minsoochoo0122@proton.me>2023-07-22 08:17:29 +0000
committerSergio Carlavilla Delgado <carlavilla@FreeBSD.org>2023-07-22 08:17:29 +0000
commit543ba92f8011eb1582f3e23ebc8df851310d5e67 (patch)
tree7b00a6148933bd6d0dc4abc85088d07b7fad8f1f
parent15f38de2dd79b77e1de1694a49ba44d97d26c3d4 (diff)
downloaddoc-543ba92f80.tar.gz
doc-543ba92f80.zip
FDP: Introduce how to use specific port for running hugo server
Differential Revision: https://reviews.freebsd.org/D41149
-rw-r--r--documentation/content/en/books/fdp-primer/doc-build/_index.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/content/en/books/fdp-primer/doc-build/_index.adoc b/documentation/content/en/books/fdp-primer/doc-build/_index.adoc
index 260769e4ea..49b2eb039c 100644
--- a/documentation/content/en/books/fdp-primer/doc-build/_index.adoc
+++ b/documentation/content/en/books/fdp-primer/doc-build/_index.adoc
@@ -136,11 +136,11 @@ Advanced build examples are given below:
....
This webserver runs on `localhost`, port `1313` by default.
-To serve the content with Hugo’s internal webserver binding a specific IP address:
+To serve the content with Hugo’s internal webserver binding a specific IP address and port:
[source,shell]
....
-% make run BIND=192.168.15.10
+% make run BIND=192.168.15.10 HUGO_ARGS="-p 8080"
....
A `hostname` can also be set as base url to Hugo’s internal webserver: