aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2024-05-17 16:02:04 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2025-06-15 01:30:30 +0200
commit1bcfa1f0cb10ce5ff4727ff634cd06609c7681f6 (patch)
treed76a444861d2b21e312d3d44d936e7f82ca42294
parent0dd9021d361714db26ec2cb471ff8bbb33a0e800 (diff)
downloadhaunt-blog-1bcfa1f0cb10ce5ff4727ff634cd06609c7681f6.tar.gz
haunt-blog-1bcfa1f0cb10ce5ff4727ff634cd06609c7681f6.tar.bz2
haunt-blog-1bcfa1f0cb10ce5ff4727ff634cd06609c7681f6.zip
Use a less common port.
When working on multiple websites the same time, having every website using the port 8080 by default isn't very convenient. In addition here we need a number that is somewhat easy to remember and possibly meaningful for each website, so in general that not easy to choose. But since ports over 1024 can usually be used by non-root users, we can also use years. And the book "Do Androids Dream of Electric Sheep?" by Phillip K. Dick was published in 1968. As I remember the name 'Replicant' was found by Bradley Kuhn and comes from both Blade Runner and the fact that we 'Replicate' the Android operating system with fully free software. And since so having a number that is at the same time the year of publication of that book, and also where events probably happened in every place around the world or in people's lives could help remember it. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--Makefile2
-rw-r--r--lighttpd.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a091b90..1b29a16 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ GUIX_PYTHON_PACKAGES ?= python python-beautifulsoup4 python-html2text python-sh
CONVERT ?= $(GUIX_SHELL) $(GUIX_PYTHON_PACKAGES) -- python3 wordpresshtml2commonmark.py
HAUNT ?= $(GUIX_SHELL) --with-patch=guile=patches/$(GUILE_PATCH) haunt -- haunt
-HAUNT_PORT ?= 8080
+HAUNT_PORT ?= 1968
VENDOR_REPLICANT_ARTWORK_REV ?= fc213d2ca94cef9047d1e4a71c21c4c4c87f349d
VENDOR_REPLICANT_ARTWORK_PATH ?= external/vendor_replicant_artwork
diff --git a/lighttpd.conf b/lighttpd.conf
index df0ca2f..d4591ca 100644
--- a/lighttpd.conf
+++ b/lighttpd.conf
@@ -14,7 +14,7 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
server.bind = "localhost"
-server.port = 8086
+server.port = 1968
server.document-root = var.CWD + "/site/"
dir-listing.activate = "enable"
index-file.names = ( "index.html" )