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

Apakah Artikel Ini Berguna?
Terima Kasih Atas Umpan Balik Anda
Senang bisa membantu! Ada hal lain yang dapat kami lakukan untuk Anda?
Maaf tentang hal tersebut. Bagaimana kami bisa membantu lebih?