After the routing of vue is configured with history,nginx, the page will always request the interface indefinitely.

A route without the-sharp number should be used in the vue project. I changed mode to history; in the path

.

clipboard.png

vuenginx;

clipboard.png

;

clipboard.png

nginx

clipboard.png

Mar.23,2021

the unlimited request to enter the page should be sent by your front-end code. It has nothing to do with Nginx. See where your code sent the request


I printed

in the component of the home page.

clipboard.png

will print repeatedly

Menu