2022-06-14 20:21:06 -04:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
# Webserver for hosting pack
|
|
|
|
services.nginx.virtualHosts."pack.forward-progress.net" = {
|
2022-06-14 20:22:33 -04:00
|
|
|
enableACME = true;
|
2022-06-14 20:21:06 -04:00
|
|
|
forceSSL = true;
|
2022-06-14 20:31:46 -04:00
|
|
|
locations."/".root = "/var/www/pack.forward-progress.net";
|
2022-06-14 20:21:06 -04:00
|
|
|
root = "/var/www/pack.forward-progress.net";
|
|
|
|
};
|
|
|
|
}
|