-
Published Question
I have been following the NGINX SSL with Let's Encrypt tutorial and appear to have successfully configured SSL for my server, but it doesn't appear to default to that. When I access my website with www.mysite.com it d...
Accepted Answer:
@connordphillips
Here's a new config for http to https redirect:
```
This server block will redirect http:// to https://www.mysite.com
server {
listen 80;
listen [::]:80;
servername mysite.com www.mysite....
3
•
•
By
connordphillips
Nginx
Let's Encrypt
Ubuntu 16.04
-
Published Question
I have a Ghost (Node.js) droplet running on Ubuntu 16.04. I'm following the NGINX tutorial to add SSL to my droplet, but I have run into the following error when I run sudo certbot certonly --webroot --webroot-path=/v...
Accepted Answer:
Hi @connordphillips
Having a CNAME record is perfectly fine, so don't worry about that.
Can you change your config to this and run service nginx restart:
```
server {
listen 80;
listen [::]:80; #Added IPv6 he...
1
•
•
By
connordphillips
Nginx
Let's Encrypt
Ubuntu 16.04
-
Published Answer
@jtittle thank you for the detailed rundown. I am now better aware of the file structure and what the commands mean. I believe I or…
•
By
connordphillips
-
Published Question
I am following the tutorial to add an SSL certificate to the Ubuntu 16.04 (https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04) droplet, but in the instructions it i...
Accepted Answer:
@connordphillips
The root user is a super user and the only real super user on the OS by default. You can add sudo users which have permission to escalate to root after authenticating, though root is still a super us...
5
•
•
By
connordphillips
Linux Basics
Linux Commands
Nginx
Ubuntu 16.04
-
Published Question
I have a weird situation where I am seeing npm start --production start up my Ghost blog within my droplet and my website appears, but when I close that port and run service ghost restart and service nginx restart I g...
Accepted Answer:
@connordphillips
Ok, so your Ghost configuration is fine. I tested the exact same on a fresh droplet and it works. The only thing you need to change in the NGINX server block is:
proxy_pass http://localhost:2368;
C...
3
•
•
By
connordphillips
Ghost
Node.js
Nginx
-
Published Question
I am trying to upgrade to Ghost 0.7.9 and followed the directions of upgrading to a node version 4.2.x < 5.x.x (My version is 4.7.3) and had no issues following all of the steps until I reached having to runnpm instal...
1
•
•
By
connordphillips
Ghost
Node.js
VPN
System Tools
Ubuntu
-
Published Question
I have a Ghost droplet that I recently noticed was not taking image uploads as indicated by the following code that appeared when I tried to upload from the markdown editor file explorer . As a res...
Accepted Answer:
@connordphillips
When you use export, whether it's in .profile, .bash_profile, or another file that's loaded when you login to SSH, the exported data will only persist for that session (i.e. until that SSH user logs ...
3
•
•
By
connordphillips
Nginx
Configuration Management
System Tools
Linux Commands
Ghost
Ubuntu
-
Published Answer
Sorry @asb it worked as you had said. Sorry for so many questions and thank you for your help!
•
By
connordphillips
-
Published Answer
Hey @asb thanks for the explanation. I add your snippet so my file looks like this,
server {
listen 80 default_server;...
•
By
connordphillips
-
Published Question
I'm having difficulty running my .htaccess file within my Ghost droplet. I have an .htaccess file with the following commands to redirect non-www requests to www requests, but a redirect is not happening:
RewriteEngi...
4
•
•
By
connordphillips
Nginx
Ghost
-
Published Question
I am trying to run my Ghost Droplet and made a few modifications to the config file to change the image storage system, but I'm getting a 502 Bad Gateway Error nginx/1.4.6 (Ubuntu) when I navigate to my IP address and...
1
•
•
By
connordphillips
Ghost
Nginx
-
Published Question
I created a one-click ghost application droplet and had no issue getting the default ghost cms up and running. The issue I am finding is customizing that droplet to match up with the custom configurations I made to my...
1
•
•
By
connordphillips
Ghost
DigitalOcean 1-Click Apps Marketplace
-
Published Question
I am trying to store env variables from my droplets linux terminal. I tried to follow the documentation that says to use the following command: env TEST_VAR=VAR to set a variable and the response shows the TEST_VAR=VA...
1
•
•
By
connordphillips
VPN
Control Panels
-
Published Question
I have a fairly basic question about the DNS setup. I already pointed my nameservers from my registrar to Digital Ocean and I'm trying to be able to add records to my DNS to set up email use via my domain name, but in...
2
•
•
By
connordphillips