From 0568948daa68506d152b109c2d92669e361192db Mon Sep 17 00:00:00 2001 From: Abhorrent_Anger Date: Thu, 26 May 2022 23:04:14 +0300 Subject: [PATCH] Nginx instructions --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index c183a1f..c97498b 100644 --- a/README.md +++ b/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. \ No newline at end of file