Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.
<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 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

1 Answer 1

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.