In this paper, we study the stabilization of a two-dimensional Burgers equation around a stationary solution by a nonlinear feedback boundary control. We are interested in Dirichlet and Neumann boundary controls. In the literature, it has already been shown that a linear control law, determined by stabilizing the linearized equation, locally stabilizes the two-dimensional Burgers equation. In this paper, we define a nonlinear control law which also provides a local exponential stabilization of the two-dimensional Burgers equation. We end this paper with a few numerical simulations, comparing the performance of the nonlinear law with the linear one.