openpanel/version/1.2.7/UPDATE.sh
2025-05-03 10:18:41 +02:00

18 lines
1.2 KiB
Bash

#!/bin/bash
echo ""
echo "📥 Updating HTML templates for domains.."
wget -O /etc/openpanel/nginx/default_page.html https://raw.githubusercontent.com/stefanpejcic/openpanel-configuration/refs/heads/main/nginx/default_page.html
wget -O /etc/openpanel/nginx/suspended_user.html https://raw.githubusercontent.com/stefanpejcic/openpanel-configuration/refs/heads/main/nginx/suspended_user.html
wget -O /etc/openpanel/nginx/suspended_website.html https://raw.githubusercontent.com/stefanpejcic/openpanel-configuration/refs/heads/main/nginx/suspended_website.html
echo ""
echo "📥 Updating VirtualHost templates for domains.."
wget -O /etc/openpanel/nginx/vhosts/1.1/docker_nginx_domain.conf https://raw.githubusercontent.com/stefanpejcic/openpanel-configuration/refs/heads/main/nginx/vhosts/1.1/docker_nginx_domain.conf
wget -O /etc/openpanel/nginx/vhosts/1.1/docker_openresty_domain.conf https://raw.githubusercontent.com/stefanpejcic/openpanel-configuration/refs/heads/main/nginx/vhosts/1.1/docker_openresty_domain.conf
wget -O /etc/openpanel/nginx/vhosts/1.1/docker_apache_domain.conf https://raw.githubusercontent.com/stefanpejcic/openpanel-configuration/refs/heads/main/nginx/vhosts/1.1/docker_apache_domain.conf