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:
|
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;
|
||||||
|
|
Loading…
Reference in New Issue