Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hi all,
I’m new to DigitalOcean and new to nginx, so apologies if I’m missing something obvious. I’m trying to set up an nginx server for Ubuntu 18.04, and followed steps 1-3 in the DigitalOcean tutorial “How To Install Nginx on Ubuntu 18.04”. My terminal output matched the example output given in the tutorial, and systemctl status nginx returns
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2019-06-23 02:46:54 UTC; 37min ago
Docs: man:nginx(8)
Process: 2356 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 2345 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Main PID: 2360 (nginx)
Tasks: 2 (limit: 1152)
CGroup: /system.slice/nginx.service
├─2360 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
└─2362 nginx: worker process```
Additionally, /var/log/nginx/error.log is empty, so it appears that nginx is indeed running. However, when I try to navigate to my IP address, the browser hangs and eventually times out, instead of displaying the nginx welcome page. Do I need to edit nginx.conf? The tutorial made it sound like I wouldn't need to.
Thanks!
Current nginx.conf:
user www-data; worker_processes auto; pid /run/nginx.pid; include /etc/nginx/modules-enabled/*.conf;
events { worker_connections 768; # multi_accept on; }
http {
##
# Basic Settings
##
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
# server_tokens off;
# server_names_hash_bucket_size 64;
# server_name_in_redirect off;
include /etc/nginx/mime.types;
default_type application/octet-stream;
##
# SSL Settings
##
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
ssl_prefer_server_ciphers on;
##
# Logging Settings
##
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
##
# Gzip Settings
##
gzip on;
# gzip_vary on;
# gzip_proxied any;
# gzip_comp_level 6;
# gzip_buffers 16 8k;
# gzip_http_version 1.1;
# gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
##
# Virtual Host Configs
##
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}
#mail {
#}
WildcatMedia
jeffs
0621335d663b4b699a60eb27e28153
accesstrax
Dwight Trumbower
admin
yimprogramming
samunyi90
1d6ce141ab5444dfb1ea2dd29cf4b1
Matt Fricker
joel9b158e40551b15093f213f