dt.iki.fi

19 posts are tagged "server"

Make all files in a directory accessible to a group

See this answer to a slightly different question: From what I understand, you want everyone in the users group to have write access to the data directory. That's accomplished by the following: setfacl -Rm g:users:rwX,d:g:users:rwX data/ I hope this will persist across user sessions & reboots? .....

Nginx and Trailing Slashes

This is a well-known problem for nginx users: an URL points to a directory, but misses the trailing slash, which results in nginx looking for a file, not a folder, and not finding it. But! It seems that this issue has been fixed long since: nginx does add trailing slashes automatically nowadays. So.....

Monitoring a small server

So you set up your server, it's open to the world, and everybody talks about what security risk that is. Your firewalls work, you probably use something like fail2ban, you check your logs every now and then, but that's not 100% protection. Really you'd need to be able to monitor the server over time.....