The Boston Bruins have signed free agent forward Nick Foligno to a two-year contract with an annual cap hit of $3.8 million, general manager Don Sweeney announced Wednesday.