https://casablanca.codeplex.com/discussions/478976
HENRYTM Answer
Hi I also encountered this problem. You can solve this by using nginx as proxy on linux. This can also add https feature to your server. Here is a small version of the needed nginx config file:
server {
listen *:80;
server_name localhost;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://localhost:12345/;
proxy_redirect http://localhost:12345/ https://$server_name/;
}
This script redirects all traffic to 12345. Now you just have to listen to
http_listener listener(L"http://localhost:12345");
Don't forget to the "support" calls. Cheers, Henry