Add ssl to to nginx config to have https access to the server