http json的对象中:
upstream backend {
server 127.0.0.1:5000;
server 127.0.0.1:6000;
}
server {
listen 8080;
server_name localhost;
location / {
index index.html index.htm;
proxy_pass http://backend;
}
.net core 启动端口:
dotnet AspNetCoreUrl.dll --urls "http://localhost:7001;https://localhost:7011"
标签:index,http,0.1,配置,server,nginx,localhost,backend
From: https://www.cnblogs.com/bruce1992/p/17723554.html