diff --git a/default.conf b/default.conf index ea923b1..fa19f78 100644 --- a/default.conf +++ b/default.conf @@ -2,11 +2,13 @@ server { listen 80; server_name localhost; + location /api { + proxy_pass http://localhost:3000; + } + location / { proxy_pass http://localhost:3001; } - location /api { - proxy_pass http://localhost:3000; - } + } \ No newline at end of file