Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions pages.nl/common/nginx.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# nginx

> Nginx webserver.
> Meer informatie: <https://nginx.org/docs/switches.html>.

- Start de server met het standaard configuratiebestand:

`nginx`

- Start de server met een aangepast configuratiebestand:

`nginx -c {{configuratiebestand}}`

- Start de server met een prefix voor alle relatieve paden in het configuratiebestand:

`nginx -c {{configuratiebestand}} -p {{pad/naar/prefix}}`

- Test de configuratie zonder de actieve server te beïnvloeden:

`nginx -t`

- Herlaad de configuratie door een signaal te sturen zonder downtime:

`nginx -s reload`
10 changes: 5 additions & 5 deletions pages/common/nginx.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# nginx

> Nginx web server.
> More information: <https://nginx.org/en/>.
> More information: <https://nginx.org/docs/switches.html>.

- Start server with the default configuration file:
- Start the server with the default configuration file:

`nginx`

- Start server with a custom configuration file:
- Start the server with a custom configuration file:

`nginx -c {{configuration_file}}`

- Start server with a prefix for all relative paths in the configuration file:
- Start the server with a prefix for all relative paths in the configuration file:

`nginx -c {{configuration_file}} -p {{prefix/for/relative/paths}}`
`nginx -c {{configuration_file}} -p {{path/to/prefix}}`

- Test the configuration without affecting the running server:

Expand Down