[Box-Admins] serving files from box4
Tobias Pape
Das.Linux at gmx.de
Wed Mar 19 15:39:50 UTC 2014
On 19.03.2014, at 16:33, Chris Cunnington <websela at 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.
Best
-Tobias
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1625 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.squeakfoundation.org/pipermail/box-admins/attachments/20140319/882afebf/signature.pgp
More information about the Box-Admins
mailing list