Can you help me? I'm trying to block all requests outside my domain, and allow the request if a specified parameter exists location ~* \.(mp4|vtt|mp3|mkv|avi)$ { if ( $http_referer !~* 'mywebsite.com' ) { # check http_referer if ($arg_78up = '') { #check if parameter 78up is empty return 404; # then redirect to 404 page }by vixarc - Other discussion