Nginx allow only *.domain.ac.in for POST, DELETE, PUT requests -
how configure nginx server allow *.domain.ac.in domains post, delete , put requests methods basic authentication enabled. should accessible in world
try config:
if ($request_method != get) { limit_except post delete put{ allow 192.168.1.0/32; #put network of *.domain.ac.in domains here deny all; } } note allowing method makes head method allowed.
Comments
Post a Comment