17.7 Agregando diferentes subdominios
dotnet CaducaRest.dll ASPNETCORE_URLS="http://*:5002" dotnet CaducaRest.dll
server {
#Código de nginx
server_name produccion.miproducto.com
location / {
proxy_pass http://localhost:5000
}
}server {
#Código de nginx
server_name pruebas.miproducto.com
location / {
proxy_pass http://localhost:5002
}
}Last updated