Score:0

How to get NGINX working on AWS EC2?

om flag

I have an AWS EC2 instance running Ubuntu.

I have followed this guide to install NGINX;

sudo apt update
sudo apt install nginx

Apparently after installing it, I should have everything I need and should be able to point my browser to my server IP address and see the default welcome to NGINX page.

In the example, it looks like they are using localhost but I am point to my public IPv4 address and have tried with my public IPv4 DNS (although this does appear to be SSL and I don't believe default NGINX is exposing port 443) but both just have connection has timed out messages.

Is something I specifically need to configure within AWS or should it work out of the box like the Ubuntu guide suggests?

How can I get NGINX working in my EC2 Ubuntu instance?

Score:0
om flag

Turns out I needed to allow HTTP and HTTPS traffic on my instance. I used this as a guide to enable it

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.