Updated Nginx config
This commit is contained in:
parent
37ea8b3c12
commit
47c14e3a27
|
@ -9,6 +9,8 @@ Add this section to your website's config file:
|
||||||
```
|
```
|
||||||
location /phpmyadmin/ {
|
location /phpmyadmin/ {
|
||||||
alias /var/www/phpMyAdminHoneypot/;
|
alias /var/www/phpMyAdminHoneypot/;
|
||||||
|
index index.html;
|
||||||
|
try_files $uri $uri/ /phpmyadmin/index.html;
|
||||||
error_page 403 =200 /phpmyadmin/index.html;
|
error_page 403 =200 /phpmyadmin/index.html;
|
||||||
error_page 404 =200 /phpmyadmin/index.html;
|
error_page 404 =200 /phpmyadmin/index.html;
|
||||||
error_page 405 =200 /phpmyadmin/index.html;
|
error_page 405 =200 /phpmyadmin/index.html;
|
||||||
|
|
Loading…
Reference in New Issue