fix(puter,slink): resolve LAN access issues
puter: create config.json with allow_nipio_domains to fix 'Invalid Host Header' on LAN slink: replace $STD with plain redirects on fallible console commands (silent() hard-exits before || true) slink: add ORIGIN env var via EnvironmentFile for SvelteKit CSRF to allow LAN login
This commit is contained in:
@@ -36,6 +36,15 @@ msg_info "Creating Directories"
|
||||
mkdir -p /etc/puter /var/puter
|
||||
msg_ok "Created Directories"
|
||||
|
||||
msg_info "Configuring Application"
|
||||
cat <<EOF >/etc/puter/config.json
|
||||
{
|
||||
"config_name": "proxmox",
|
||||
"allow_nipio_domains": true
|
||||
}
|
||||
EOF
|
||||
msg_ok "Configured Application"
|
||||
|
||||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/puter.service
|
||||
[Unit]
|
||||
|
||||
Reference in New Issue
Block a user