Comments on How to Install WordPress with Nginx and Let's Encrypt SSL on CentOS 8
WordPress is a free, open-source and most widely used content management system in the world. In this tutorial, we will explain how to install WordPress with Nginx on CentOS 8 server and then we secure the server by using a free Let's Encrypt SSL certificate.
4 Comment(s)
Comments
"Over 8 years of experience as a Linux system administrator. My skills include a depth knowledge of Redhat/Centos,..." and still disabling SELINUX?
Why not just
setsebool -P httpd_can_network_connect on
For more see:
/usr/sbin/getsebool -a | grep httpd
Thanks to Hitesh for the nice tutorial. However Peter is right, I kept getting "An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums." until I did what he pointed out.
You have install SSL but the website will not default to HTTPS because you have not include the 301 or SSL details in the server block.
certbot-auto --apache -d example.com
Shouldn't this be
certbot-auto --nginx -d example.com