How best to secure admin directory?

Leonardo Crespo leo at
Fri Apr 9 05:47:48 MSD 2010

Morning guys!

Can anyone help with best practice to secure an /portal/admin
directory? A link to documentation will do just fine.

Our website has and /admin directory which don't want to be accessible
via Instead, we want
to point to /portal/admin directory. If we could add authentication to would be great too.

The point is some files on* include (php include)
files on /portal/admin, so this has to work internally.

I searched the wiki and this website
(which is great too) but I couldn't figure out a way to do this.

Any ideas are very welcomed.


More information about the nginx mailing list