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