use correct regex for the reverse proxy

This commit is contained in:
lukas 2021-03-09 19:31:56 +01:00
parent b625a4d958
commit be40475615

View File

@ -13,7 +13,7 @@ server {
try_files $uri /index.html;
}
location /api/ {
location ~* ^/(api/|token) {
proxy_pass http://127.0.0.1:8081;
}
}