I believe I found the error. In this file: https://gist.github.com/jaapmarcus/25b513629139af4ff45915fa154675b9#file-cp-stpl
location / {
proxy_pass https://%ip%:8083;
}
That https should be http. I switched it to http and it works.