I have a NAS on which I have a RAID 10 array that I use as my GIT repository, I like my clients to have access to the site's builds right down to the latest commit.
My plan is like so:
____________ ___ __________
| | Git | | Apache | |
|Dev Computer|---->|NAS|------->|Web Server|--> NAT/WAN
|____________| |___| |__________|
X.Y.Z.199 X.Y.Z.200 X.Y.Z.201
So what i'm wondering is how do I point apache for say example.com
goto X.Y.Z.200/Git/example.com/
I can probably plug the NAS direct into the web-server via USB but ethernet is preferable (it is gigabit so latency shouldn't be that bad).
What do you guys recommend? Or maybe install git on the apache web server itself - bypass the NAS and just have the repository hosted on the server's local HDD?