From 019e406a0fc5eb164ef7cd2b4890eb0728ffbaac Mon Sep 17 00:00:00 2001 From: Francis Date: Thu, 23 Sep 2021 20:16:56 +0200 Subject: [PATCH] no need for a rewrite --- site.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/site.conf b/site.conf index 20c1bcd..d8d7560 100644 --- a/site.conf +++ b/site.conf @@ -2,7 +2,6 @@ server { listen 80; location /api { - rewrite /api/(.*) /$1 break; proxy_pass http://localhost:8080; }