HTTPS with Umbraco/Kestrel
i
Hi all, today I have decided to host one of my sites in a VPS. I just got the site running, but the backoffice doesn't work. I figured because I am running the app behind a NGINX reverse proxy where the app is hosted on http://localhost:5000. Can anybody help me set up a certificate so that I can use https with kestrel? Right now it's fine but the backoffice of course needs to be accessed.
For anybody running into this, I solved this with the following lines in my appsettings.json:
Copy code
"Kestrel":{
  "Endpoints": {
    "https": {
      "Url": "https://localhost:5000",
      "Certificate": {
        "Path": "/etc/ssl/[site name]/cert.pem",
        "KeyPath": "/etc/ssl/[site name]/key.pem"
      }
    }
  }
},
9 Views