mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 16:44:56 +02:00
550 B
550 B
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
- Reload configuration, gracefully shut down old worker processes
nginx -s reload
- Shut down quickly
nginx -s stop
- Shut down gracefully
nginx -s quit
- Reopen log files
nginx -s reopen