You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
During Nginx installation in RHEL OS, nginx will not create the SITES-AVAILABLE and SITES-ENABLED folders inside ../etc/nginx/, hence the NGINX-UI will fail when a new site is created as it will not find those folders.
Describe the solution you'd like
I would suggest adding the following piece of code to the install.sh
nginx_dir="/etc/nginx"
directories=("sites-available" "sites-enabled")
for dir_name in "${directories[@]}"; do
directory="$nginx_dir/$dir_name"
if [ ! -d "$directory" ]; then
echo "Creating $dir_name directory..."
mkdir -p "$directory"
fi
done
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
During Nginx installation in RHEL OS, nginx will not create the SITES-AVAILABLE and SITES-ENABLED folders inside ../etc/nginx/, hence the NGINX-UI will fail when a new site is created as it will not find those folders.
Describe the solution you'd like
I would suggest adding the following piece of code to the install.sh
The text was updated successfully, but these errors were encountered: