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

IIS Issue #7

Open berndthiel opened 4 months ago

berndthiel commented 4 months ago

Hi Team, i have Issues with the Configuration

my Setup is following

https://xxx.duckdns.org:13370 to IIS to https://192.168.xxx.xxx:443

i use a self created certificate from IIS with my duckdns.org domain in its installed in my "trusted certs" by mmc.exe

my NightScout ENV Var are

INSECURE_USE_HTTP = false PORT = 443

my NightScout Config shows in CMD following

Redirecting http traffic to https because INSECURE_USE_HTTP= false Enabled SECURE_HSTS_HEADER (HTTP Strict Transport Security) Listening on port 443 null

my issue is now following

1) internal test ---> https://localhost is not working 2) external text ---> https://xxx.duckdns.org:13370 , shows "Web server received an invalid response while acting as a gateway or proxy server"

fyi, Only Setup i get working is following INSECURE_USE_HTTP=true -> 1) internal test ---> http://localhost:443 -> 2) external test ---> http://xxx.duckdns.org:13370 BUT with this setup i get my in AndroidUploader the CLEARTEXT Error :(