Remove unnecessary rewrite rule from Nginx configuration for API routing

This commit is contained in:
Первов Артем
2026-04-20 23:29:22 +03:00
parent 20241b6ce1
commit 420e1deb7d

View File

@@ -14,7 +14,6 @@ server {
location /api/ {
set $backend http://server:3000;
rewrite ^/api/?(.*)$ /$1 break;
proxy_pass $backend;
proxy_http_version 1.1;
proxy_set_header Host $host;