#forward the post request to the microservice location /api/auth/ { proxy_pass http://auth$uri; } location / { root /volumes/static/auth/; }