Nginx: Difference between revisions
Bmnascimento (talk | contribs) It was missing the "virtualHosts.localhost" part, making the config file invalid. |
m add a proper installation section (see MoS) |
||
| Line 1: | Line 1: | ||
[https://nginx.org/ {{PAGENAME}}] ([[wikipedia:en:{{PAGENAME}}]]) is a lightweight webserver. | [https://nginx.org/ {{PAGENAME}}] ([[wikipedia:en:{{PAGENAME}}]]) is a lightweight webserver. | ||
== Installation == | |||
To install Nginx, add the following to your NixOS configuration:{{file|/etc/nixos/configuration.nix|nix|3=services.nginx.enable = true;}} | |||
More options are available: {{nixos:option|services.nginx.}} | |||
== Sample setups == | == Sample setups == | ||