no need for a rewrite
This commit is contained in:
parent
ba1fc1fa3e
commit
019e406a0f
1 changed files with 0 additions and 1 deletions
|
@ -2,7 +2,6 @@ server {
|
||||||
listen 80;
|
listen 80;
|
||||||
|
|
||||||
location /api {
|
location /api {
|
||||||
rewrite /api/(.*) /$1 break;
|
|
||||||
proxy_pass http://localhost:8080;
|
proxy_pass http://localhost:8080;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue