Resource icon

Securing admin.php with a password - nginx

Admin

Administrator
Staff member
Joined
Sep 28, 2017
Messages
1,529
Reactions
110
Points
63
Admin submitted a new resource:

Securing admin.php with a password - nginx - Securing admin.php with a password - nginx

This guide will explain how to protect the admin.php file using nginx. This was performed on the latest nginx mainline version at the time of publishing, 1.7.6, however it should work with anything beyond 1.2 at the very least.

1. Create a directory to store your file containing usernames and passwords. You can put this file anywhere accessible really, but I personally prefer to keep it out of the web root and put it in /etc/nginx or /home
2. Perform the following command to get the hash of...
Read more about this resource...