Could you recommend me how to test
.htaccess functionality on my local Berock/Trellis-powered evironment?
To elaborate - my production server runs on Apache. I need to restrict some downloads (mostly PDFs) to logged-in users. It seems, that serving of uploaded files (by URLs such as
http://example.com/wp-uploads/2017/11/file.pdf) does not concern Wordpress at all, so I need to intercept it with some sort of server tool. Would it be possible to test my approach on my local environment, which runs on Bedrock/Trellis (that uses, yes, NGINX and not Appache?).
Thanks in advance!