Remove blank lines ( new line ) with grep
echo -e "a\n\nb" | grep -v '^ *$'
or
grep -v '^[\s\t]*$' file.txt > new_file.txt
To configure NGINX as a secure load balancer for WebSocket ( wss:// ) connections,use an HTTP upgrade map, increase connection timeouts, a...