Apache Httpd

Revision as of 19:47, 25 June 2025 by Klinger (talk | contribs) (Category:Networking added (there are also the other http servers/reverseproxy)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Apache Http Server is a web server developed by the Apache Software Foundation.

Enabling

To enable the Apache HTTP server service on your system, add the following options to your NixOS system configuration. Additionally, you may wish to open the appropriate ports in the firewall to allow HTTP and HTTPS traffic.

❄︎ /etc/nixos/configuration.nix
  services.httpd.enable = true;
  networking.firewall.allowedTCPPorts = [ 80 443 ];

Refer to services.httpd for more module configuration options.

Tips and tricks

Using ACME certificates

Refer to NixOS Manual: Chapter - Package Management.

See also