Add logging to service termintate
Enable debuging for nginx
Connect to 127.0.0.1 instead of localhost