[Box-Admins] serving files from box4
Chris Cunnington
websela at yahoo.com
Wed Mar 19 15:33:20 UTC 2014
It's not ideal to serve squeak.org's resources files from my website forever, so how do we serve files from box4?
I'm going to post this idea and leave it for a week before I change anything.
I figure a week is enough time for people to look at the question.
nginx serves files from /usr/share/nginx/.
It's default is /usr/share/nginx/html.
The basic directive looks like this:
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
I'm thinking we have directories for each service in the default directory:
/usr/share/nginx/ftp
/usr/share/nginx/map
/usr/share/nginx/source
/usr/share/nginx/wiki
/usr/share/nginx/www
/usr/share/nginx/lists
We could add a new subdomain called "files" and serve from it.
http://files.squeak.org/map
http://files.squeak.org/ftp
http://files.squeak.org/source
http://files.squeak.org/wiki
http://files.squeak.org/www
http://files.squeak.org/lists
Thanks,
Chris
More information about the Box-Admins
mailing list