Nevermiiiind of course it was the very next thing I tried that worked perfectly. Feel free to close this thread.
For anyone else who’s running into this:
-
sudo apt-get install nginx
to install nginx.
-
sudo vim /etc/nginx/sites-enabled/default
Go to where it says location / {...
and add the following between the opening and closing {}'s:
proxy_pass http://127.0.0.1:8080/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 600s;
proxy_redirect off;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Protocol $scheme;
}
This is also covered in more detail over here -> https://www.shinyproxy.io/security/#https-ssl-tls