On Wed, 19 Mar 2014, Tobias Pape wrote:
On 19.03.2014, at 16:33, Chris Cunnington <websela@yahoo.com> wrote:
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
I propose to use the standard /var/www
but apart from that, yes.
Yes, and no :). As I said, I'll write proper config files. I've started to change stuff already, but editing anything on the server is a pain, due to the lack of tools (vim, screen, etc).