Compare commits
No commits in common. "8ad8b1f633f6c3875032a0ead0e87255dff4ab3c" and "15cbf5d4ffe307c9b7bd84dfc162c28f8d300aaf" have entirely different histories.
8ad8b1f633
...
15cbf5d4ff
1 changed files with 3 additions and 3 deletions
|
|
@ -12,6 +12,7 @@ let
|
|||
|
||||
inherit (lib.utils)
|
||||
mkReverseProxyOption
|
||||
mkVirtualHost
|
||||
;
|
||||
in
|
||||
{
|
||||
|
|
@ -31,9 +32,8 @@ in
|
|||
systemd.tmpfiles.rules = [ "d ${cfg.dataDir} 0755 ${cfg.user} ${cfg.group} -" ];
|
||||
|
||||
services.nginx.virtualHosts = mkIf cfg.reverseProxy.enable {
|
||||
"${fqdn}" = {
|
||||
enableACME = cfg.reverseProxy.forceSSL;
|
||||
forceSSL = cfg.reverseProxy.forceSSL;
|
||||
"${cfg.virtualHost}" = mkVirtualHost {
|
||||
ssl = cfg.reverseProxy.forceSSL;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue