Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solution!!! Welcome to nginx on CloudLinux (Default Page Issue) For CL8 or CL9 AL9 #1466

Open
zGansalloz opened this issue Nov 16, 2023 · 0 comments

Comments

@zGansalloz
Copy link

zGansalloz commented Nov 16, 2023

Engintron is the best Nginx related product for CPanel. I would like to show you the solution if you encounter a similar problem.

When installing Engintron on CL8-9, you may have an old version of Nginx installed.
You can check via the command line

nginx -v

Most likely the version will be 1.20
Below I offer a solution.

############################### Start #################################

rm -r /etc/yum.repos.d/nginx.repo
cat <<EOF > /etc/yum.repos.d/nginx.repo
[nginx]
name=nginx stable repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=1
enabled=1
gpgkey=https://nginx.org/keys/nginx_signing.key
module_hotfixes=true
priority=1
EOF
chattr +i /etc/yum.repos.d/nginx.repo
cp -r /etc/nginx /etc/nginx.bck
dnf erase nginx -y
rm -rf /etc/nginx

After which you can log into Engintron and run the command
(Update (or re-install) Engintron [with Nginx "stable"] )
When the process is completed, check the nginx version.
nginx -V
nginx version: nginx/1.24.0
If the version is 1.24 and higher, then you succeeded!

@zGansalloz zGansalloz changed the title Welcome to nginx on CloudLinux (Default Page Issue) For CL8 or CL9 Welcome to nginx on CloudLinux (Default Page Issue) For CL8 or CL9 AL9 Nov 16, 2023
@zGansalloz zGansalloz changed the title Welcome to nginx on CloudLinux (Default Page Issue) For CL8 or CL9 AL9 Solution!!! Welcome to nginx on CloudLinux (Default Page Issue) For CL8 or CL9 AL9 Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant