||1 year ago|
|.gitignore||1 year ago|
|README.md||1 year ago|
|docker-compose.yaml||1 year ago|
A simple webserver to host static files using NGINX. Might be found to be useful.
Adding new files
content/ add your files & subdirectories as needed. Note:
content/bacon/ is special since there is a cronjob that copies
/mnt/files from bacon's NFS mount. So on any machine that mounts bacon just adding files to
/mnt/files will become hosted under https://files.cosi.clarkson.edu/bacon/.
* * * * * rsync -av /mnt/files/ /opt/files/content/bacon
docker-compose up -d