Closed danielfomin96 closed 3 years ago
I solved it for me by changing the nginx entry to: ´´´ location = /wt { proxy_pass http://127.0.0.1:19823/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; proxy_set_header Host $host; } location /wt/ { proxy_pass http://127.0.0.1:19823/; proxy_http_version 1.1; proxy_set_header Host $host; } ´´´
I am trying to setup wt-tracker to run behind nginx on https://example.com/wt but I am not able to curl https://example.com/wt/stats.json even though I can connect with wscat.
my config.json:
nginx entry:
Do I need to change
"path": "/*",
to something else?"/wt/*"
did not work for me as I got error 404 with wscat. Is it even possible that such a setup succeeds? I am trying to curl stats.json because I want to know that wt-tracker works correctly.