dt.iki.fi

13 posts are tagged "server"

Getting email off my (non-mail) server with sSMTP

This article is originally from 2016, but I edited it a few times. Instead of trying to cover all sorts of usage scenarios, here's the disclaimer: this works on my setup. Yours may be different. My server is not a mail server, and I never learned to use UNIX' internal mailing system. But sometimes...

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...

Setup NFS Share on Debian

I did practically everything described here. However, for automating the whole process with fstab on both client & server, this provided important extra information, esp. about bind-mounting existing filesystems into a dedicated NFS folder, and also about /etc/fstab entries. That's it really; it...

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...