KKuTu-Proxy is a app that proxies all WS requests, especially designed for KKuTu.
- Clone this repository.
- Run
npm install
in the repository. - Configure line 11-39 on app.js.
- Run the program.
- Done!
- Of course, Enable HTTPS on the app.js configuration.
- If required, change the port number(s) on line 38~39.
- Change lines 88~99 on KKuTu/Server/lib/Web/main.js to below:
Server.use((req, res, next) => {
if(req.protocol == 'http') {
let url = 'https://'+req.get('host')+req.path;
res.status(302).redirect(url);
}
});
- Restart your KKuTu Web Serer and the program.
- Done!
If you think something important is missing or should be different based on your experience, I'd love to hear it! If you have suggestions for improving this application, open an issue on this project.