Nginx Sample Configurations

From wikieduonline
Revision as of 05:29, 1 July 2020 by Welcome (talk | contribs) (Created page with "Example of the '''simplest''' nginx possible configuration file, listening on default http port: 80. <pre>/etc/nginx/conf.d/default.conf server { listen 80; root /pat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Example of the simplest nginx possible configuration file, listening on default http port: 80.

/etc/nginx/conf.d/default.conf
server {
    listen 80;
    root /path/to/your/html_files;
}


See also

Advertising: