You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
.gitignore | 1 year ago | |
README.md | 1 year ago | |
docker-compose.yaml | 1 year ago |
README.md
Files
A simple webserver to host static files using NGINX. Might be found to be useful.
Adding new files
In 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/.
Crontab:
* * * * * rsync -av /mnt/files/ /opt/files/content/bacon
Start
docker-compose up -d