From be4047561597d028dcb1616ee51c29702dfc0ae9 Mon Sep 17 00:00:00 2001 From: lukas Date: Tue, 9 Mar 2021 19:31:56 +0100 Subject: [PATCH] use correct regex for the reverse proxy --- .../etc/nginx/sites-available/OpenMediaCenter.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deb/OpenMediaCenter/etc/nginx/sites-available/OpenMediaCenter.conf b/deb/OpenMediaCenter/etc/nginx/sites-available/OpenMediaCenter.conf index 0600958..8ee1e5f 100755 --- a/deb/OpenMediaCenter/etc/nginx/sites-available/OpenMediaCenter.conf +++ b/deb/OpenMediaCenter/etc/nginx/sites-available/OpenMediaCenter.conf @@ -13,7 +13,7 @@ server { try_files $uri /index.html; } - location /api/ { + location ~* ^/(api/|token) { proxy_pass http://127.0.0.1:8081; } }