On Saturday, 18 February 2017 17:47:32 GMT Ralph Corderoy wrote:
Ralph,

I've got a few things to do tonight, so won't get onto this until tomorrow.  
In the meantime:

> Does your nginx set-up have /etc/nginx/sites-{available,enabled}?  Are
> symlinks in the latter pointing at configuration files in the former?
> Might just be `default' unless you've added others.

Just the default is enabled.  I think that is needed to get the nginx landing 
page to work anyway.

> What's the user, group, and permissions on /var/www, e.g. `ls -ld
> /var/www'?

The content is in /var/www/html.  Is it the permissions of that directory or 
the higher one?

> Create a simple file in there.
> 
>     sudo sh -c 'date >/var/www/now.txt'
>     sudo chmod 444 /var/www/now.txt

Again.  Should this be in /var/www/html?

> And then attempt to fetch that with curl(1) so the complicted browser
> isn't involved.  What `hostname' are you using in the URL?
> 
>     curl -sS http://127.1/now.txt   # On the Pi.
>     curl -sS http://FIXME/now.txt   # Elsewhere.

I'll report back tomorrow.

Thanks.

-- 



                Terry Coles

-- 
Next meeting:  Bournemouth, Tuesday, 2017-03-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue     / TO THE LIST OR THE AUTHOR

Reply via email to