Configure NGINX Server Blocks

If you want to host websites on your server running NGINX, you can use NGINX server blocks. Server blocks are the NGINX equivalent of Apache's virtual hosts - they let you direct incoming HTTP traffic for a domain name to a particular directory on your server.

There are several ways to set up NGINX Server Blocks on your Cloud Server, depending on which version of Linux you are using.

Linux Version Guide
Ubuntu or Debian 7 Configure NGINX Server Blocks - Ubuntu or Debian 7
CentOS Configure NGINX Server Blocks - CentOS
Arch Linux Configure NGINX Server Blocks - Arch Linux

Was dit artikel nuttig?
Thanks for your feedback. To speak with a customer service representative, please use the support phone number or chat option above.
Fijn dat we konden helpen! Kunnen we nog iets voor je doen?
Dat spijt ons. Tell us what was confusing or why the solution didn’t solve your problem.