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