This article is a mirror article of machine translation, please click here to jump to the original article.

View: 9299|Reply: 3

[Angular] Angular project release issue

[Copy link]
Posted on 6/19/2020 4:11:57 PM | | |
If you use the url localhost:4200 to access the page, you can display the page normally and publish it to the Alibaba Cloud server xxx.xx.xxx.xxx:4200




Previous:es6 Extension Operator Three dots (...) )
Next:ASP.NET Core uses the MediatR intermediary model
Posted on 6/19/2020 5:08:23 PM |
First, create a new site folder, for example: C:/wwwroot/itsvse
Place the compiled project under this directory.

nginx is configured as follows:

nginx -t command to test whether the configuration is correct, and then restart nginx with the following command.


If the external network is inaccessible, check the firewall and Alibaba Cloud security group.

Or try server_name localhost; Try removing the configuration
 Landlord| Posted on 6/19/2020 6:10:30 PM |
For publishing, what is the difference between windos system and Linux system Alibaba Cloud server?
Posted on 6/20/2020 8:52:22 PM |
HuairongChen posted on 2020-6-19 18:10
For publishing, what is the difference between windos system and Linux system Alibaba Cloud server?

For users there is no difference

Just like you buy a Gree and Midea air conditioner, you can adjust the temperature
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com