403 Forbidden nginx error occurs

Problem Description: Deploy the front webpack packaged react to the nginx, found 403 Forbidden error

 

Solution: Modify nginx.conf file, add the user root; Configuration

 

Guess you like

Origin www.cnblogs.com/zhi-leaf/p/11207726.html