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.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I have the next error when I type sudo systemctl start nginx.service
Job for nginx.service failed. See ‘systemctl status nginx.service’ and ‘journalctl -xn’ for details.
:(
@dgonzalez: Sounds like there is a typo or syntax error in your Nginx configuration file. To test it, run:
sudo nginx -t
Not all changes are highlighted red in default.conf listing in my nginx config file.
The instructions root and index are carried out into the section server{}, although by default they are found inside the section of location / {}.
Also added try_files $uri $uri/ =404; instruction into location / {}.
I think, instead of the edit file, simpler it will copy the listing of configuration proposed.
I get error: 404 Not Found when I try to access websiteaddress.com/info.php
I put info.php in /usr/share/nginx/html/ via FileZilla.
Thanks, d.v.bogdanov - I was stuck on this tutorial for a bit, and your comment helped me fixed the problem! :)
Yeah, thanks d.v.bogdanov and rdebeasi. I completely missed that as well. Be nice if the author could go back and make those changes a little clearer. Otherwise very helpful startup article.
To save some the headache that I went through.
In the line sudo rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm : the el7 is the letter E, the letter L, the Numbr 7
Before sudo yum install nginx will work, you must install EPEL. This can be done with these codes.
wget http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm
rpm -ivh epel-release-7-0.2.noarch.rpm
works for me all but a small detail that I can not fix …
when I put in the nginx configuration file (/etc/nginx/nginx.conf) about “listen = /var/run/php-fpm/php-fpm.sock " the web does not work, I get a little clear error”
the file “/etc/nginx/conf.d/default.conf” is well configured with the following "fastcgi_pass unix:/var/run/php-fpm/ php-fpm.sock; " but does not work.
however when I put in the two configuration files that “127.0.0.1:9000” if it works
the question is, what can be the problem? in the tutorial I see that you just have to edit what I put, but it may be that I miss something?
thank you very much for your tutorial and help