jaylagorio / Nightscout-on-Windows-Server

A walk-through showing Nightscout and all of its dependencies and services installed on Windows Server.
19 stars 25 forks source link

HTTPS settings #1

Closed heba29 closed 4 years ago

heba29 commented 5 years ago

Hello, I have successfully completed the manual. Thank you very much for that. Now I want to change the port from 80 to 443. Do I have to call the nightscout setup again? Or where do I change the parameters?

jaylagorio commented 5 years ago

Sorry for the late response. Are you using IIS in front of the Node server or are you accessing Nightscout directly without using IIS?

heba29 commented 5 years ago

Hello, without IIS.

Grüße Herbert

Am 20.02.2019 um 20:11 schrieb jaylagorio notifications@github.com<mailto:notifications@github.com>:

Sorry for the late response. Are you using IIS in front of the Node server or are you accessing Nightscout directly without using IIS?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jaylagorio/Nightscout-on-Windows-Server/issues/1#issuecomment-465714171, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AgVQqh3fV9KadAtasHjWvMHJV21tc0Amks5vPZ3NgaJpZM4ahKnp.

jaylagorio commented 5 years ago

It's not clear to me that you can use Nightscout over SSL without changing the code, but I could be wrong. What I recommend is following the instructions to put IIS in front of Node, then using IIS as the SSL provider. You can do that by getting a certificate and installing it in IIS, making sure the Site is using port 443. Then the connection to Nightscout would look like this:

Web Browser or OpenAPS -> HTTPS to IIS -> HTTP to Node

Because the IIS and Node services live on the same server it's OK that they communicate without encryption because the traffic doesn't leave the server.

heba29 commented 5 years ago

Ok. I wil try it next time. Thank you

Grüße Herbert

Am 20.02.2019 um 20:18 schrieb jaylagorio notifications@github.com<mailto:notifications@github.com>:

It's not clear to me that you can use Nightscout over SSL without changing the code, but I could be wrong. What I recommend is following the instructions to put IIS in front of Node, then using IIS as the SSL provider. You can do that by getting a certificate and installing it in IIS, making sure the Site is using port 443. Then the connection to Nightscout would look like this:

Web Browser or OpenAPS -> HTTPS to IIS -> HTTP to Node

Because the IIS and Node services live on the same server it's OK that they communicate without encryption because the traffic doesn't leave the server.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jaylagorio/Nightscout-on-Windows-Server/issues/1#issuecomment-465716721, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AgVQqnobYvft39Ec0lqnGlmjsJeK9R26ks5vPZ92gaJpZM4ahKnp.