Recognition

Posts

14 Posts
  • Published Answer

    HTTP redirection to HTTPS not working properly

    Hi KDSys! I found the issue: my UFW just allowed “Nginx HTTPS” and not “Nginx HTTP” which is essential I think. Or is there anot…
    By Effection
  • Published Answer

    HTTP redirection to HTTPS not working properly

    Hey KDSys, thanks! I changed it to your suggestion. When I run curl I get the following: HTTP/1.1 301 Moved Perman...
    By Effection
  • Published Question

    HTTP redirection to HTTPS not working properly

    I have set up Nginx as a reverse proxy as well as using SSL. My website works on https://example.com as well as https://www.example.com. But when I open a private browser tab and search for http://example.com it loads...
    3 By Effection Nginx
  • Published Answer

    Which server distribution does fit the best?

    Cool, it works! Thanks KDSYs!
    By Effection
  • Published Answer

    How to connect securely between Node and Vue on one Droplet?

    Hey, many thanks for your suggestion. It works like this. The frontend does receive the data given by the backend, great! But th…
    By Effection
  • Published Question

    How to connect securely between Node and Vue on one Droplet?

    I set up SSL with Let's Encrypt and it works as it should. On my droplet there is Nginx as reverse proxy and forwards the request to my frontend on port 3000 --> it works!. But my frontend does fetch data from my back...
    2 By Effection Nginx Node.js API
  • Published Question

    Nuxt/Vue no assets/JS, Nginx configs necessary?

    I deployed my Nuxt app and Node app and they both run and can communicate. But I face the issue that my Nuxt app (SSR) does not load the assets from webpack even though they were build successfully. I checked the dist...
    1 By Effection Vue.js Nginx
  • Published Answer

    How can the frontend call the backend API?

    I found out that they communicate with each other but somehow I cannot login via JWT. Maybe there is an issue with Redis but it con…
    By Effection
  • Published Question

    How can the frontend call the backend API?

    I set up an Nginx server in front of my Vue frontend and my Node backend. Nginx redirects to requets to Vue and the browser shows the page. But when I want to log in (call the backend API), nothing happens. I assume t...
    1 By Effection Node.js API Nginx
  • Published Question

    Which server distribution does fit the best?

    Hi there! I've set up a Droplet with Node and Vue running on it. In front there is a reverse proxy (nginx). It works fine so far. Now, I want to set up my database with MongoDB and my Redis that stores invalid tokens ...
    3 By Effection Node.js Redis MongoDB Vue.js Nginx
  • Published Question

    Does Redis installed on a simple Droplet start automatically?

    Hi there! For my Node app I have pm2 running but I wonder how Redis behaves when the server is shut down for a reason? I just shut it down and restart my Droplet with (only) Redis installed and it seems that it has st...
    1 By Effection Redis
  • Published Answer

    Node does not connect with redis

    I realized that somewhere in my backend code there must be a default value set for the Redis URI and port …
    By Effection
  • Published Answer

    Node does not connect with redis

    Thanks for your fast help Bobby! My Redis server and Node Server are on two different Droplets. I decided so due to the fact tha…
    By Effection
  • Published Question

    Node does not connect with redis

    I've created a Node droplet and when I "npm start" it ("node server.js" is executed) I get the following error: ``` Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 at TCPConn...
    3 By Effection Node.js Redis