-
Published Question
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
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...
2
•
•
By
geochanto
Ubuntu 18.04
Backups
DigitalOcean
-
Published Question
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
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
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
@ageorgiev I’m not getting the expected result.
For whereis pagespeed: pagespeed:
For which pagespeed, : no response at…
•
By
geochanto
-
Published Question
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
@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
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
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
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
@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
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
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
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
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
@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
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
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
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