New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
If you really use nginx only for testing etc. then install a pptp VPN, bind nginx to the internal IP and block all external ports except the ones you use for SSH and pptp with iptables.
Is the flask app doing anything that might consume bandwidth?
What do the NGINX logs show - are you getting massive connections from people?
If you are the only one using the VPS, move NGINX off port 80 to some randomly chosen port if you can.
Check with: ss -plnt
to see what's connected to your machine.
There are a bunch of tools you can use to actively monitor bandwidth use:
https://www.binarytides.com/linux-commands-monitor-network/
Unless you need your VPS running 24 hours/day, I'd shut it down when you are not using it until you determine what's actually going on.