Section 122. The board of health shall examine into all nuisances, sources of filth and causes of sickness within its town, or on board of vessels within the harbor of such town, which may, in its opinion, be injurious to the public health, shall destroy, remove or prevent the same as the case may require, and shall make regulations for the public health and safety relative thereto and to articles capable of containing or conveying infection or contagion or of creating sickness brought into or conveyed from the town or into or from any vessel. Whoever violates any such regulation shall forfeit not more than one thousand dollars.