# Basic NGINX Usage Guide

**URL:** <https://community.nginx.org/t/basic-nginx-usage-guide/11525>\
**Category:** NGINX\
**Tags:** web-server\
**Created:** [November 1, 2026, 10:26pm UTC](https://community.nginx.org/t/basic-nginx-usage-guide/11525 "2026-11-01T22:26:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![duclamdev](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@duclamdev](https://community.nginx.org/u/duclamdev)\
**Post date:** [November 1, 2026, 10:26pm UTC](https://community.nginx.org/t/basic-nginx-usage-guide/11525/1 "2026-11-01T22:26:08Z")

</div>

Hi everyone, I am looking for community guidance on basic usage of NGINX. Here is the context based on available documentation.

### NGINX Product/Version

NGINX Open Source

### Sanitized Configuration Excerpt

```nginx
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log;
pid /run/nginx.pid;

events {
    worker_connections 1024;
}

http {
    include /etc/nginx/mime.types;
    default_type application/octet-stream;

    server {
        listen 80;
        server_name localhost;

        location / {
            root /usr/share/nginx/html;
            index index.html index.htm;
        }
    }
}

```

### Expected Behavior

Clients accessing port 80 should be served the default index page from the root directory.

### Actual Behavior

Behavior depends on specific system setup and environment configuration.

### Relevant Logs

```plaintext
[notice] 1#1: using the "epoll" event method
[notice] 1#1: NGINX version: 1.24.0

```

### Question

What are the recommended best practices when setting up server blocks and managing configurations for production environments in the NGINX community?

#nginx #Webserver #Community
