Difference between revisions of "Nginx Sample Configurations"
Jump to navigation
Jump to search
(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...") |
|||
| Line 10: | Line 10: | ||
== See also == | == See also == | ||
* {{Nginx}} | * {{Nginx}} | ||
| + | |||
| + | |||
| + | [[Category:Nginx]] | ||
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;
}
See also
- Web server: Nginx:
/etc/nginx/nginx.conf,nginx -t, Nginx logs, Nginx change log, PHP,php-fpm, Let's encrypt, Nginx directives, Reverse Proxy, Configure HTTP redirection Nginx, Return,proxy_pass (Reverse proxy),ngx_http_rewrite_module,/etc/nginx/sites-enabled/,error.log,access.log,/nginx status, AIO
Advertising: