Help Articles
search
I installed nginx firewall in Baota, and all websites are 500.
Category: Server operation and maintenance
author: Kevin
Time: 2024-11-12
Read: 360

宝塔面板先安装了nginx,然后安装nginx防火墙后, 所有站点都出现500 Internal Server Error,如何解决? 

出现这种情况,通常是因为安装nginx 的时候默认是快速安装导致有部分组件没有安装上。

解决方案:

卸载nginx防火墙 和 nginx (注意, 这2个软件一定都要卸载)

然后,先选择编译安装nginx ,如下图

等nginx安装完成后, 再安装nginx防火墙。 

最后再测试网站访问, 都可以正常访问了。

上一篇:The current host name is hostname and cannot be installed. Solution
下一篇:How to restart services in Centos8? How to restart the network card in Centos8?
Customer Service
Pre sales consultation
在线客服
after-sale service
24/7 operation and maintenance
运维客服
Feedback
Complaints and Suggestions
投诉与建议
置顶