w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
configure nginx to get js and css directly from public folder of node.js express site

A 403 forbidden response may be related to the nginx process don't having permission to read the files. Check that the folder public is recursively readable by the user running nginx and change the permissions if needed:

sudo chmod -R 744 /root/pathToNodeJsExpressSiteFolder/public




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.