git: 543ba92f80 - main - FDP: Introduce how to use specific port for running hugo server
Sergio Carlavilla Delgado <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.doc |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by carlavilla: URL: https://cgit.FreeBSD.org/doc/commit/?id=543ba92f8011eb1582f3e23ebc8df851310d5e67 commit 543ba92f8011eb1582f3e23ebc8df851310d5e67 Author: Minsoo Choo <[email protected]> AuthorDate: 2023-07-22 08:17:29 +0000 Commit: Sergio Carlavilla Delgado <[email protected]> CommitDate: 2023-07-22 08:17:29 +0000 FDP: Introduce how to use specific port for running hugo server Differential Revision: https://reviews.freebsd.org/D41149 --- documentation/content/en/books/fdp-primer/doc-build/_index.adoc | 4 ++-- 1 file 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: