This commit is contained in:
CanbiZ 2026-01-16 15:01:42 +01:00
parent 528488f134
commit 640140a658
3 changed files with 3 additions and 5 deletions

View File

@ -87,4 +87,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}:8080${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}"

View File

@ -8,7 +8,7 @@
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 8080,
"interface_port": 80,
"documentation": "https://docs.termix.site/",
"website": "https://termix.site/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/termix.webp",

View File

@ -64,7 +64,6 @@ msg_ok "Set up Directories"
msg_info "Configuring Nginx"
cat <<'EOF' >/etc/nginx/sites-available/termix.conf
pid /opt/termix/nginx/nginx.pid;
error_log /opt/termix/nginx/logs/error.log warn;
events {
@ -84,7 +83,7 @@ http {
client_header_timeout 300s;
server {
listen 8080;
listen 80;
server_name _;
add_header X-Content-Type-Options nosniff always;
@ -245,7 +244,6 @@ User=root
WorkingDirectory=/opt/termix
Environment=NODE_ENV=production
Environment=DATA_DIR=/opt/termix/data
Environment=PORT=8080
ExecStart=/usr/bin/node /opt/termix/dist/backend/backend/starter.js
Restart=on-failure
RestartSec=5