So i use nginx with PHP and i have the following two urls i want to allow
access on the subdomain.

The full url would be
sub1.domain.com/index.php?option=com_hwdmediashare&task=addmedia.upload&base64encryptedstring

if ( $args ~
'option=com_hwdmediashare&task=addmedia.upload([a-zA-Z0-9-_=&])' ) {
}

And

sub1.domain.com/media/com_hwdmediashare/assets/swf/Swiff.Uploader.swf

But i cant figure out in nginx how to block all other traffic/requests on
the subdomain apart from those two urls can anyone help me get a
understanding of the location block of nginx so i can block access to all
links apart from those two.

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,256336,256336#msg-256336

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to