Recognition

Posts

20 Posts
  • Published Question

    502 Bad Gateway after droplet reboot

    I powered off the droplet to take a snapshot. After powering it back on, I'm getting a 502 Bad Gateway error. I saw multiple questions on the same topic but none of the solutions worked for me. I tried restarting ngin...
    Accepted Answer: Hi there @geochanto, From the error log output that you've provided, it looks like your Nginx service is trying to connect to another service that is supposed to be listening on port 8000. You need to find out which s...
    1 By geochanto Nginx DigitalOcean
  • Published Question

    Snapshot transfer recipient not receiving the snapshot

    I'm transferring the snapshot to another account/owner per this guide: https://www.digitalocean.com/docs/images/snapshots/how-to/change-owners However, in the receiver's account the snapshot transfer does not appear f...
    1 By geochanto Ubuntu 18.04 Backups DigitalOcean
  • Published Question

    TLS v 1.3 Not working on Nginx

    I have Ubuntu 18.04, Nginx version 1.17.6, OpenSSL version 1.1.1 . - I believe those satisfy requirements for TLS 1.3. In my /etc/nginx/nginx.conf file I added TLSv1.3 like so: ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLS...
    1 By geochanto Ubuntu 18.04 Security Let's Encrypt Nginx
  • Published Question

    Gitlab Pipelines Permission Denied (PublicKey)

    I'm able to ssh into my droplet from my local machine. However, I have a gitlab pipelines job that fails to SSH to the production server at digital ocean. As far as I can tell, I've done everything correctly: Copied p...
    1 By geochanto CI/CD Ubuntu 18.04
  • Published Answer

    Unable to change options for ngx_pagespeed

    Problem was that for some reason I thought pagespeed flags were turned on/off via terminal commands. It actually needs to be do…
    By geochanto
  • Published Answer

    Unable to change options for ngx_pagespeed

    @ageorgiev I’m not getting the expected result. For whereis pagespeed: pagespeed: For which pagespeed, : no response at…
    By geochanto
  • Published Question

    Unable to change options for ngx_pagespeed

    I was able to successfully add ngx_pagespeed to my Nginx server. It works - for example I can see it is automatically converting my .jpg images to .webp. However, I'm not able to edit any options. When I try to run s...
    3 By geochanto Nginx
  • Published Answer

    Do I have an SSD or Spinning Disk Drive?

    @Kdimitrov thank you. You are right, I just meant HDD vs SSD, and thanks for pointing out the droplets use SSD. I was referring …
    By geochanto
  • Published Question

    Do I have an SSD or Spinning Disk Drive?

    How can I check whether my droplet is using an SSD or regular spinning disk drive? I had set up a swap space on the disk. I recently read that setting up swap space on SSD is bad because it degrades performance, so I ...
    2 By geochanto DigitalOcean LAMP Stack Storage Ubuntu 18.04
  • Published Question

    Analyzing / Preventing Bandwidth Spikes

    I just had a huge spike in bandwidth, which seems to have cause spikes in all else - RAM, CPU, Disk I/O. It caused the site to go down for a few minutes. I looked at my Google Analytics data and there was no particula...
    1 By geochanto LAMP Stack DigitalOcean Ubuntu 18.04
  • Published Question

    FastCGI to improve TTFB when Using NGINX to reverse proxy?

    I'm trying to improve time to first byte. HTTP2 helped a lot, but TTFB is still between 500-700ms. I'd like to bring it down to around 200. I saw some suggestions to use FastCGI. I have a bit of a tricky setup so I'm...
    2 By geochanto Nginx Apache Node.js Server Optimization Ubuntu 18.04
  • Published Answer

    Setting up SSL with nginx reverse proxy

    @bobbyiliev thank you. I’ve received some feedback from other colleagues and I wonder if you could chime in on these: That ap…
    By geochanto
  • Published Question

    Setting up SSL with nginx reverse proxy

    I'm about to launch a major website. having a bit of a trouble with configuring SSL correctly, and need to make sure I don't screw it up. I do have SSL cert files, and following the guide here: https://www.digitalocea...
    3 By geochanto Nginx Apache DigitalOcean WordPress
  • Published Answer

    How can I get a response from a Nodejs app running with PM2?

    OK the problem in my case was that I had to use pm2 start npm – run start . I was missing “run”. Otherwise it works.
    By geochanto
  • Published Question

    Nginx reverse proxy to nodejs app - domain root location redirects browser back to server IP

    I have a client with an existing domain name which cannot be pointed to my server just yet. So in the meanwhile I've added my node app and configuring the reverse proxy. This is what I've done: Added domain entries to...
    0 By geochanto Nginx Node.js Ubuntu 18.04
  • Published Question

    Nginx reverse proxy to apache adds a trailing slash at the end

    I have an nginx reverse proxy set up like this: /etc/nginx/sites-available/domain.com ``` server { listen 80; listen [::]:80; root /var/www/html; index index.html index.htm index.nginx-debian.h...
    1 By geochanto Nginx Apache Ubuntu 18.04
  • Published Answer

    How Do I view my site via public IP address without pointing the domain?

    @jarland thank you. I actually figured I should try that some time after posting this question. I am indeed able to view the site a…
    By geochanto
  • Published Question

    How Do I view my site via public IP address without pointing the domain?

    I'm hosting a wordpress backend using Apache. I'm using Node to actually display the site (nextjs). Additionally I'm using nginx reverse proxy for both Apache and Node. so, I followed the guide and set up /etc/ngingx...
    2 By geochanto Nginx Apache Node.js WordPress Ubuntu 18.04
  • Published Question

    Cannot start and configure Nginx reverse proxy due to running Apache

    I installed a wordpress droplet. It's using an Apache server on Ubuntu 18.04. My app only uses wordpress for the dashboard and API. I have a nextjs node/react app running with server-side rendering to display the act...
    1 By geochanto Nginx Node.js Apache WordPress Ubuntu 18.04
  • Published Question

    How can I get a response from a Nodejs app running with PM2?

    I have a wordpress backend + nextjs server-side-rendering/react app set up on Ubuntu 18.04. I'm following this tutorial on correctly setting up nodejs apps: https://www.digitalocean.com/community/tutorials/how-to-set-...
    2 By geochanto Node.js WordPress Ubuntu 18.04