Secure download Laravel with Nginx ?
Hello, I wanna allow download files for my subscribers only, The problem is my laravel app hosting is separated from files i mean i have server only for my files and a hosting only for my codes, So how do i communicate between nginx and laravel to serve a file ? If i append string ofHash::make() into url query string how nginx can understand this hash to check whether this hash is valid? Should i deploy the app in nginx server to use Hash::check ?
I found some doc in nginx about this but have no idea how to implement this in laravel side https://www.nginx.com/resources/wiki/modules/secure_download/
Please or to participate in this conversation.