# phpMyAdminHoneypot A static phpMyAdmin login page with faux error messages. # Nginx configuration Add this section to your website's config file: ``` location /phpmyadmin { location ~ \.php$ { try_files $uri $uri/ /phpmyadmin/index.html; } alias /var/www/phpMyAdminHoneypot/; index index.html; try_files $uri $uri/ /phpmyadmin/index.html; 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.