Here is my code: ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// server { listen 80; listen [::]:80; root /home/ubuntu/iot-web/; index index.html index.htm index.nginx-debian.html; server_name domain.net www.domain.net; location /api/ { proxy_pass http://localhost:8080/api/; } location /auth/login {by xdavidt - How to...