From 7b5bb6dfd9312bb1153a9e303c0b574ddf6d6db4 Mon Sep 17 00:00:00 2001 From: MickLesk Date: Wed, 6 May 2026 07:36:01 +0200 Subject: [PATCH] Update domain configuration to use nip.io for subdomain routing and enhance documentation --- ct/puter.sh | 2 +- install/puter-install.sh | 4 ++-- json/puter.json | 12 ++++++++++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/ct/puter.sh b/ct/puter.sh index 53030db3..491d6aae 100644 --- a/ct/puter.sh +++ b/ct/puter.sh @@ -57,4 +57,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:4100${CL}" +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}.nip.io:4100${CL}" diff --git a/install/puter-install.sh b/install/puter-install.sh index 1ab020dd..685b4dba 100644 --- a/install/puter-install.sh +++ b/install/puter-install.sh @@ -38,10 +38,10 @@ msg_info "Configuring Application" cat </etc/puter/config.json { "config_name": "proxmox", - "domain": "${LOCAL_IP}", + "domain": "${LOCAL_IP}.nip.io", "protocol": "http", "http_port": 4100, - "experimental_no_subdomain": true, + "allow_nipio_domains": true, "services": { "database": { "engine": "sqlite", diff --git a/json/puter.json b/json/puter.json index 5c3adee5..9028c933 100644 --- a/json/puter.json +++ b/json/puter.json @@ -33,8 +33,16 @@ }, "notes": [ { - "text": "Configuration is stored in /etc/puter and data in /var/puter.", + "text": "Access via http://<IP>.nip.io:4100 (not the raw IP). nip.io is required for Puter's subdomain routing.", + "type": "info" + }, + { + "text": "Camera, microphone, and other media capture features require HTTPS (a secure context). They will not work on the default HTTP setup.", + "type": "warning" + }, + { + "text": "Configuration is stored in /etc/puter/config.json and data in /var/puter.", "type": "info" } ] -} +} \ No newline at end of file