Error reported by the backend interface of nginx + Vue project request: 405 not allowed

This problem has occurred in previous projects. Recently, it occurred again when testing Jenkins + Vue to realize automatic deployment. Record it separately here.

The solution is to modify the configuration file of nginx: just add two red boxes

  

 

Similar Posts: