Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
<Files urllist.txt>
    order allow,deny
    Allow from xx.xx.91.29
</Files>
share|improve this question

closed as off-topic by Ward, kasperd, faker, Jenny D, masegaloeh Apr 19 '15 at 10:44

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions should demonstrate reasonable business information technology management practices. Questions that relate to unsupported hardware or software platforms or unmaintained environments may not be suitable for Server Fault - see the help center." – Ward, faker, Jenny D
If this question can be reworded to fit the rules in the help center, please edit the question.

1  
If you need somebody to do your work - hire a developer! You could have at least accepted the answer of @AlexD! – tftd Apr 30 '12 at 14:58

This will translate to following in nginx config:

location = /path/to/urllist.txt {
  allow xx.xx.91.29;
  deny all;
}

See documentation for location and allow directives.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.