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"
|
"nextcloud"
|
||||||
"nginx"
|
"nginx"
|
||||||
"openssh"
|
"openssh"
|
||||||
|
"webblog"
|
||||||
];
|
];
|
||||||
firewall = {
|
firewall = {
|
||||||
allowPing = false;
|
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 {
|
"git.${config.machine.domain}" = mkIf config.services.gitea.enable {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
Loading…
Reference in a new issue