Nginx instructions

This commit is contained in:
Abhorrent_Anger 2022-05-26 23:04:14 +03:00
parent b02797bd82
commit 0568948daa
1 changed files with 14 additions and 0 deletions

View File

@ -2,6 +2,20 @@
A static phpMyAdmin login page with faux error messages.
# Nginx configuration
Add this section to your website's config file:
```
location /phpmyadmin/ {
alias /var/www/phpMyAdminHoneypot/;
error_page 403 =200 /phpmyadmin/index.html;
error_page 404 =200 /phpmyadmin/index.html;
error_page 405 =200 /phpmyadmin/index.html;
error_page 500 =200 /phpmyadmin/index.html;
}
```
# OPTIONAL: Loading arbitrary hidden HTML
Create a frame.html file at the root of the project directory with the desired content.