Configuring nginx to check for hard files in only a few directories,
- by Evan Carroll
For a node.js project I'm doing, I have a tree like this.
+-- public
¦ +-- components
¦ +-- css
¦ +-- img
+-- routes
+-- views
Essentially, I have the root to be set to public. I want all requests destined to
/components/
/css/
/img/
To check to see if their appropriate destinations exist on disk. However,…