Apache Httpd: Difference between revisions
Appearance
Create initial page |
m Category:Networking added (there are also the other http servers/reverseproxy |
||
Line 25: | Line 25: | ||
* [[Nginx]] | * [[Nginx]] | ||
[[Category:Server]] | [[Category:Server]] [[Category:Networking]] |
Latest revision as of 19:47, 25 June 2025
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.