Updated Nginx configuration

This commit is contained in:
Abhorrent_Anger 2022-05-28 12:23:59 +03:00
parent 69b25375d5
commit 712364a5e6
2 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,10 @@ A static phpMyAdmin login page with faux error messages.
Add this section to your website's config file: 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/; alias /var/www/phpMyAdminHoneypot/;
index index.html; index index.html;
try_files $uri $uri/ /phpmyadmin/index.html; try_files $uri $uri/ /phpmyadmin/index.html;

View File

@ -1,3 +0,0 @@
<?php
header("Location: index.html");
?>