1 2 3 4 5 6 7 8 9 10
{ locations = { "/" = { extraConfig = '' rewrite ^/api/(.*) /$1 break; return 200 $request_uri;''; proxyPass = "http://localhost:4998"; }; }; }