Update domain configuration to use nip.io for subdomain routing and enhance documentation
This commit is contained in:
@@ -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}"
|
||||
|
||||
@@ -38,10 +38,10 @@ msg_info "Configuring Application"
|
||||
cat <<EOF >/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",
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user