Solve Error: hexo 403 forbidden

Once you deployed the hexo with Nginx on your web instance, you might get the 403 forbidden error, try the following step to fix:

Solution:

  • Run vim /etc/selinux/config

  • Comment the SELINUX line.
    #SELINUX=enforcing

  • Add SELINUX=disabled

  • Reboot

posted @ 2021-04-11 17:18  Grandyang  阅读(208)  评论(0编辑  收藏  举报
Fork me on GitHub