blob: 9b28e9eee436872f8825cd77ce1952c3f304f286 (
plain) (
tree)
|
|
{ lib, config, pkgs, ... }:
let
cfg = config.myServices.websites.denise.production;
in {
options.myServices.websites.denise.production.enable = lib.mkEnableOption "enable Denise's website";
config = lib.mkIf cfg.enable {
services.websites.env.production.vhostConfs.denise_production = {
certName = "denise";
addToCerts = true;
hosts = [ "syanni.eu" "www.syanni.eu" ];
root = ../_www;
extraConfig = [
''
<Directory ${../_www}>
DirectoryIndex index.htm index.html
Options Indexes FollowSymLinks MultiViews Includes
AllowOverride AuthConfig
Require all granted
</Directory>
''
];
};
};
}
|