====== 2.3 Impostazioni Server ======
Server HTTP e configurazione di rete.
===== Cambiare Porta =====
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://*:8080"
}
}
}
===== Attivare HTTPS =====
"Kestrel": {
"Endpoints": {
"Https": {
"Url": "https://*:443",
"Certificate": {
"Path": "cert.pfx",
"Password": "segreto"
}
}
}
}
===== Solo localhost =====
"Url": "http://localhost:5000"
===== Tutte le Interfacce =====
"Url": "http://*:5000"
===== Variabile d'Ambiente =====
set ASPNETCORE_URLS=http://*:8080