![LayerStack Tutorials - LayerStack - How to install Nginx web server on CentOS, Debian & Ubuntu Cloud Servers LayerStack Tutorials - LayerStack - How to install Nginx web server on CentOS, Debian & Ubuntu Cloud Servers](https://www.layerstack.com/img/docs/resources/nginx1.png)
LayerStack Tutorials - LayerStack - How to install Nginx web server on CentOS, Debian & Ubuntu Cloud Servers
![LayerStack Tutorials - LayerStack - How to install Nginx web server on CentOS, Debian & Ubuntu Cloud Servers LayerStack Tutorials - LayerStack - How to install Nginx web server on CentOS, Debian & Ubuntu Cloud Servers](https://www.layerstack.com/img/docs/resources/nginx2.png)
LayerStack Tutorials - LayerStack - How to install Nginx web server on CentOS, Debian & Ubuntu Cloud Servers
![linux - Nginx: [emerg] "server" directive is not allowed here in /etc/nginx/ nginx.conf:76 - Server Fault linux - Nginx: [emerg] "server" directive is not allowed here in /etc/nginx/ nginx.conf:76 - Server Fault](https://i.stack.imgur.com/unqqr.png)
linux - Nginx: [emerg] "server" directive is not allowed here in /etc/nginx/ nginx.conf:76 - Server Fault
![linux - Nginx: [emerg] "server" directive is not allowed here in /etc/nginx/ nginx.conf:76 - Server Fault linux - Nginx: [emerg] "server" directive is not allowed here in /etc/nginx/ nginx.conf:76 - Server Fault](https://i.stack.imgur.com/nrR1a.png)