Giter VIP home page Giter VIP logo

Comments (1)

Runner-coder avatar Runner-coder commented on May 31, 2024 1

As it turns out localtunnel does support https. I didn't read the documentation. Since there isn't any option concerning about https , in the localtunnel home page nor in the github page I thought that it was impossible to use https in localtunnel. That's why I wanted a way to disable TLS in web-console . Somehow I found the solution in the localtunnel github issues page. It's as follows.

lt --port 9008 --local-https --allow-invalid-cert

Still I think it would be cool if I could change the port number and enable/disable TLS in command line instead of changing environment variables.
Anyway while I was trying to make a jar file with source files I found out that my task could be archived by just overwriting the application.properties file inside the jar file instead of remaking the jar file . Even after changing "security.require.ssl=true" to "security.require.ssl=false" it didn't disable TLS. But using this method I was able to change the port number. So I put the commands below if someone wants to change the default port number to something else without having to change environment variable each time you run the web-console. In this case I change the port number from 8055 to 9008.There could be much easier ways to do this but I couldn't find any, so if someone knows please let me know. I hope that this would help someone in the future.

Finally, huge thanks to @subhra74 for making such an awesome tool . I don't know why this project is so much underated . I wish if this is as popular as xdm. Anyway I hope that you would continue to work on this project .(maybe :)

wget https://github.com/subhra74/linux-web-console/archive/refs/tags/v0.6.tar.gz;mkdir web-con-source;tar -xzf v0.6.tar.gz -C web-con-source
sed -i 's/server.port=8055/server.port=9008/g' web-con-source/linux-web-console-0.6/app/src/main/resources/application.properties

mkdir -p /<current working directory>/BOOT-INF/classes;cp web-con-source/linux-web-console-0.6/app/src/main/resources/application.properties BOOT-INF/classes/application.properties

jar uf /<web console directory>/cloud-shell.jar BOOT-INF/classes/application.properties

from linux-web-console.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.