From 712364a5e6bb398d75fd917d4a239433f356c2ad Mon Sep 17 00:00:00 2001 From: Abhorrent_Anger Date: Sat, 28 May 2022 12:23:59 +0300 Subject: [PATCH] Updated Nginx configuration --- README.md | 5 ++++- index.php | 3 --- 2 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 index.php diff --git a/README.md b/README.md index a3d2be8..480cb77 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,10 @@ A static phpMyAdmin login page with faux error messages. Add this section to your website's config file: ``` -location /phpmyadmin/ { +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; diff --git a/index.php b/index.php deleted file mode 100644 index 9617ed5..0000000 --- a/index.php +++ /dev/null @@ -1,3 +0,0 @@ - \ No newline at end of file