server { listen 1026; location /api/ { proxy_pass http://flask-consul:2026; } location / { root /www/dist; } }