Where to start First steps track · 15 stages
Linux Labs

Web stack

Final test: Web stack

Question 6 of 18
Leave the quiz

Read the output

The warehouse application serves /items. What do you change so that it gets the path without /api/?

location /api/ {
    proxy_pass http://127.0.0.1:8002;
}
$ curl http://shop.lab.test/api/items
stock: GET /api/items
Back A–C or ↵ Sign in to answer
Loading…