From 8a1db4d9b716be95632bdddeebc43a887aa5ae80 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Fri, 6 Sep 2024 09:39:02 +0200 Subject: [PATCH] Update INSTALL.sh --- version/0.2.8/INSTALL.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/version/0.2.8/INSTALL.sh b/version/0.2.8/INSTALL.sh index bbacd415..4493bd19 100644 --- a/version/0.2.8/INSTALL.sh +++ b/version/0.2.8/INSTALL.sh @@ -77,7 +77,7 @@ UFW_SETUP=false # previous CSF_SETUP=true # default since >0.2.2 SET_ADMIN_USERNAME=false # random SET_ADMIN_PASSWORD=false # random -SCREENSHOTS_API_URL="http://screenshots-api.openpanel.co/screenshot" # default since 0.2.1 +SCREENSHOTS_API_URL="http://screenshots-api.openpanel.com/screenshot"# default since 0.2.1 # PATHS ETC_DIR="/etc/openpanel/" # https://github.com/stefanpejcic/openpanel-configuration @@ -172,9 +172,9 @@ detect_filesystem(){ } get_server_ipv4(){ - # Get server ipv4 from ip.openpanel.co - current_ip=$(curl --silent --max-time 2 -4 https://ip.openpanel.co || \ - wget --timeout=2 -qO- https://ip.openpanel.co || \ + # Get server ipv4 from ip.openpanel.com + current_ip=$(curl --silent --max-time 2 -4 https://ip.openpanel.com || \ + wget --timeout=2 -qO- https://ipv4.openpanel.com || \ curl --silent --max-time 2 -4 https://ifconfig.me) # If site is not available, get the ipv4 from the hostname -I if [ -z "$current_ip" ]; then @@ -1295,7 +1295,7 @@ configure_nginx() { ln -s /etc/openpanel/nginx/options-ssl-nginx.conf /etc/letsencrypt/options-ssl-nginx.conf openssl dhparam -out /etc/letsencrypt/ssl-dhparams.pem 2048 > /dev/null 2>&1 - # https://dev.openpanel.co/services/nginx + # https://dev.openpanel.com/services/nginx ln -s /etc/openpanel/nginx/nginx.conf /etc/nginx/nginx.conf # Setting pretty error pages for nginx, but need to add them inside containers also!