I have started datahub with steps from https://datahubproject.io/docs/quickstart
and then add nginx with conf
upstream datahub-front {
server localhost:9002;
}
server {
server_name datahub.myhost.com;
location / {
proxy_pass http://datahub-front;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_redirect off;
}
listen 80;
}
all works fine at http://datahub.myhost.com:9002
but at http://datahub.myhost.com
i got
Request URL: https://datahub.myhost.com/
Request Method: GET
Status Code: 505 HTTP Version Not Supported
I thing some cfg set up in nginx can fix the problem. pls help