/etc/nginx/nginx.conf

From wikieduonline
Revision as of 07:32, 8 December 2019 by Welcome (talk | contribs)
Jump to navigation Jump to search

w:Nginx web server that was written in 2004 as an alternative to popular Apache web server.

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


Nginx Sample Configurations

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

Advertising: