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