On my server, I use a proxy server on IIS 10 (IP: 10.1.1.51). “Url rewrite” was used to proxy traffic. I have directed to the virtual machine with Ubuntu Server 16.04 LTS with the installed Discourse which is located on the address 10.1.1.62.The problem is that Discourse does not work correctly when IIS is proxied traffic. Sometimes the http protocol does not work, sometimes https (500 error in Discourse)
Preview does not work. When you create a new topic, it will not be displayed. Works only with local IP. In the console, this error occurs.
web.config (4 KB)
Clear version on local IP (10.1.1.62)