Last update at :2024-01-01,Edit by888u
Generally speaking, security software will not cause problems after uninstalling it, but sometimes websites cannot be opened. Common Linux server security software cloud lock and security dog are commonly used. If the website cannot be opened after uninstalling such security software, first check whether nginx starts normally. If not, you need to restart it. If there is an error message, in most cases, you need to reinstall nginx!
First check whether nginx starts normally
service nginx status
If it is not started, enter the following command to start it
service nginx start
The following error is prompted, dependencies are missing
Need to recompile nginx
First backup the nginx configuration file
\cp /www/server/nginx/conf/vhost /www/backup/vhost_backup
Recompile nginx
wget -O install.sh http://125.88.182.172:5880/src/install.sh && sh install.sh nginx
After compilation, execute the following command to restore the configuration file
rm -rf /www/server/nginx/conf/vhost
\cp /www/backup/vhost_backup /www/server/nginx/conf/vhost
Note: Please modify the above paths according to your own environment, do not copy them, otherwise we will not be responsible for any problems! Therefore, before making modifications, it is recommended to package and back up the website data locally.
Recommended site searches: website registration domain name query, Wanwang domain name space, Japanese server free, foreign domain name, registration-free cdn acceleration, Ministry of Industry and Information Technology website registration query, Hong Kong virtual host space, mainland China ip agent, Western Digital registration, host domain name ,
发表评论