Since it's on the same subject, I'll take advantage of this thread instead of starting a new one.
When travelling, I'd like to keep a couple of files on my SOHO web server in case I lose my smartphone, but since they contain sensitive infos, I need to secure them somehow.
I moved from Apache to Nginx, but the documentation doesn't recommend using .htaccess: "Like Apache: .htaccess. You can't do this. You shouldn't. If you need .htaccess, you're probably doing it wrong" (http://wiki.nginx.org/LikeApache-htaccess).
So what should I do? Ignore this advice and use the above solution? If not, what other option do I have?
Thank you.