add reverse proxyx

This commit is contained in:
Matthos Denys 2021-03-08 21:08:19 +03:00
parent e84685aab8
commit 2527a0a28e

View File

@ -25,11 +25,11 @@ http {
}
location = ^(/phpmyadmin)$ {
proxy_pass https://192.168.99.150:5000/$1;
proxy_pass https://$host/$1;
}
location /phpmyadmin {
proxy_pass https://192.168.99.150:5000/;
proxy_pass https://$host:5000/;
proxy_redirect /index.php /phpmyadmin/index.php;
}
}