Recent content by peter

  1. P

    Node App Does Not Load

    I figured out my problem. I had moved the site to a new server. I sshed to the correct server, ran node app.js, and now it works! I had moved the SSL certificate and the domain to the new server as well. That's why I am getting the 443 listener error on the old server.
  2. P

    Node App Does Not Load

    It was working before. I was able to run the app.js file from the command line with node app.js, and I could see the the output from petersmusic.tk/node , but now I try that and I get a 503 error. The only thing that seems different is that I have an error on the admin dashboard, but I don't...
  3. P

    Node App Does Not Load

    l was able to get this working by following https://openlitespeed.org/kb/reverse-proxy-basics/ It is not necessary to change http to https within the app.js script.
  4. P

    Node App Does Not Load

    How could I figure out what file or directory specifically can't be found?
  5. P

    Node App Does Not Load

    I already had this set up. Anything else I could check?
  6. P

    Node App Does Not Load

    Thanks for the reply. 1. I am not sure why I am getting a 404 error. I have an app.js file in the /usr/local/lsws/petersmusic/node directory, and I have verified that there is a node executable in /home/homedirectory/.nvm/versions/node/v18.13.0/bin/node . 2. Do I need to do something...
  7. P

    Node App Does Not Load

    I have followed the instructions to create a simple nodejs app on OLS https://openlitespeed.org/kb/running-node-js-apps-with-openlitespeed/ I already have a letsencript SSL certificate installed and have a website running from this server at https://petersmusic.tk I have two questions about...
  8. P

    How to Use fastapi with OLS

    Thanks for the answer, I'll give that a try. One reason for using fastapi is that it is supposed to be faster than using Flask. Would it be worth it to use Gunicorn + reverse proxy on OLS as you describe? Would fastapi still be faster than using Flask on the OLS server? Would this take a lot of...
  9. P

    How to Use fastapi with OLS

    There is a very helpful guide on setting the OLS server for Flask and for Django, but I have not been able to find any similar guide for the fastapi. I followed the instructions on https://fastapi.tiangolo.com/, but I got: [ERROR] [UID:65534][149926] wsgiHandler getApp [application] failed...
Top