Hi
As per the documentation for secure sites, I created another webserver object and set the port to 80 and clicked "Always Redirect To Secure Site" with the same WebHandler.
Works - except that it redirects to
https://blahblah.com:0 for port 0.
After going through the NT code - found out you need to set _RedirectToHttpsPort to the port to redirect to.
Added an embed right after the webserver object _AlwaysRedirect is set to 1 in the WebServer procedure to set _RedirectToHttpsPort to 443 and now it works.
Want to make sure this is the proper way to do this and would appreciate the documentation be updated to reflect this. I could not find anything further in the docs or forum either.
Version 4.32