mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-24 18:30:25 +03:00
20 lines
346 B
Markdown
20 lines
346 B
Markdown
# nginx
|
|
|
|
> Nginx web server.
|
|
|
|
- Start server with default config:
|
|
|
|
`nginx`
|
|
|
|
- Start server with custom config file:
|
|
|
|
`nginx -c {{config_file}}`
|
|
|
|
- Start server with a prefix for all relative paths in config file:
|
|
|
|
`nginx -c {{config_file}} -p {{prefix/for/relative/paths}}`
|
|
|
|
- Test configuration without affecting the running server:
|
|
|
|
`nginx -t`
|