Had to remove two lines for authentication to work properly in nginx