Added webblog option to nginx blog vhost.
This commit is contained in:
parent
0b3b1ba4af
commit
bd87853b1f
2 changed files with 7 additions and 0 deletions
|
@ -30,6 +30,7 @@ with lib;
|
|||
"nextcloud"
|
||||
"nginx"
|
||||
"openssh"
|
||||
"webblog"
|
||||
];
|
||||
firewall = {
|
||||
allowPing = false;
|
||||
|
|
|
@ -166,6 +166,12 @@ mkIf (elem "nginx" config.machine.services) {
|
|||
'';
|
||||
};
|
||||
|
||||
"blog.${config.machine.domain}" = mkIf (elem "webblog" config.machine.services) {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = "/var/lib/webblog/";
|
||||
};
|
||||
|
||||
"git.${config.machine.domain}" = mkIf config.services.gitea.enable {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
|
Loading…
Reference in a new issue