Updated Nginx configuration
This commit is contained in:
parent
69b25375d5
commit
712364a5e6
@ -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;
|
||||
|
@ -1,3 +0,0 @@
|
||||
<?php
|
||||
header("Location: index.html");
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user