While learning bootstrap3 and developing for beadopotamus.com, I had the need to internally serve the website so we could look at it on multiple devices to allow for screen size and color variations.
Turns out that Shibby’s Tomato has NGINX internal web server! Yay. Setting it up was not terribly difficult but required some tinkering.
- Make sure your flash drive is mounted under USB support.
- Under file sharing, you probably want to create a separate mount point for ease of SAMBA access to the directory. I did and it works well. I can use Brackets over the network to test changes in the dev environment.
- I created a www directory under the root and called it web.
- This directory houses the hosted files.
- Enable the webserver and point it to the correct directory.
I hope this helps someone. I couldn’t really find a tutorial on it so I fiddled with it until it worked.
The good news is that this is not externally accessible so there is little security threat.
The peculiar thing is the directory did not survive a reboot. I’m guessing that the router clears out the web server directory on reboot. Current config here. I’ll see if this survives a reboot.