Closed (works as designed)
Project:
Octopus
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2012 at 16:39 UTC
Updated:
30 Mar 2012 at 14:56 UTC
What's the best approach to limiting access to sites by IP when running BOA? When I create various development and testing versions of sites I'd like to limit access to only a few IP's.
Comments
Comment #1
omega8cc commentedCheck the standard Aegir how-to first: http://community.aegirproject.org/node/70
For Nginx, follow the how-to below - we assume that your Octopus system user is standard
o1:$ su -s /bin/bash - o1
$ nano ~/.drush/restricted.drush.inc
Paste there this code:
Of course replace 123.45.67.89 and 123.45.67.90 with your real allowed IPs (or add more of them).
Save the file.
Now re-verify the sites you wish to protect so those allow/deny lines will get inserted in the correct vhosts automatically.
Done.
Comment #2
rocketZero commentedThanks so much for the help. That works exactly as I wanted.