Hello, seniors. I bought a CVM in Aliyun. I want to throw my packaged vue project on it and use the public network to access it. I can access it normally when I configure nginx, on my own window computer! But throwing it into the server of the linux system will die! I would like to ask how to configure ah, is not the conf configuration file to be greatly changed!??
this is my window computer, configuration, is OK!
this is the conf configuration of nginx on window system
after opening nginx, open port 8080, all normal, the address of the request interface is also normal, and cross-domain errors will not be reported.
but put the dist folder and this configuration file on the cloud server of the linux system, and it won"t work! Keep reporting 404 error, can"t find it!?
I would like to ask how the server in the linux system should configure the configuration file of nginx. I hope experienced seniors can give me some advice. Excuse me!