work revers

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

View File

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