server { listen 80; root /usr/share/nginx/html; index index.html; location / { try_files $uri $uri/ /index.html; } location /api/ { proxy_pass http://192.168.10.202:9090/api/; proxy_set_header Host $host; } location /deploy { proxy_pass http://192.168.10.202:9090/deploy; proxy_set_header Host $host; } }