1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 03:17:58 +01:00
tldr/pages/common/nginx.md
2016-01-08 09:38:59 +01:00

346 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