Difference between revisions of "Nginx Sample Configurations"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
}
 
}
 
</pre>
 
</pre>
 +
 +
 +
== Related terms ==
 +
* <code>[[nginx.conf]]</code>
  
  

Revision as of 05:31, 1 July 2020

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;
}


Related terms


See also

Advertising: