Nginx instructions
This commit is contained in:
parent
b02797bd82
commit
0568948daa
14
README.md
14
README.md
|
@ -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.
|
Loading…
Reference in New Issue