Coder Social home page Coder Social logo

Comments (3)

tchjntr avatar tchjntr commented on September 22, 2024 1

The point of using an upstream configuration for LiT's web interface is to bypass its own self-signed certificate and use the self-signed certificate created at the very beginning of the guide (section: Prepare NGINX reverse proxy).

If you want to use the self-signed certificate created at the beginning of the guide you will need to serve LiT's web GUI with TLS disabled. You can do that with the option insecure-httplisten= in lit.conf.

Example: insecure-httplisten=127.0.0.1:8442

Once you serve LiT's web GUI on port 8442 then you can use the upstream configuration:

upstream litd {
  server 127.0.0.1:8442;
}
server {
  listen 8444 ssl;
  proxy_pass litd;
}

Restart NGINX, restart litd and visit LiT's web GUI page. You will notice that the self-signed certificate being used now is the one you created at the beginning of the guide.

Removing "ssl" from the upstream configuration in NGINX like you did is not a fix because you'll notice that the certificate used is LiT's own self-signed certificate. That upstream configuration is an additional step which is unnecessary as it's basically the equivalent of reaching LiT's web interface on port 8443 with the only difference that you point to port 8444 first.

from raspibolt.

github-actions avatar github-actions commented on September 22, 2024

This issue is marked as stale because there was no activity for 60 days. If the issue stays inactive, it will be closed in a week.

from raspibolt.

github-actions avatar github-actions commented on September 22, 2024

This issue has been closed due to inactivity.

from raspibolt.

Related Issues (20)

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.