forceSSL for wiki
This commit is contained in:
parent
08bcd00451
commit
44f895d58a
1 changed files with 4 additions and 1 deletions
|
@ -9,7 +9,10 @@ in
|
|||
];
|
||||
disabledModules = [ "services/web-apps/dokuwiki.nix" ];
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
services.nginx.virtualHosts."${hostname}".enableACME = true;
|
||||
services.nginx.virtualHosts."${hostname}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
};
|
||||
services.dokuwiki.sites."${hostname}" = {
|
||||
enable = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue