Merge pull request 'remove mkVirtualHost from rss-bridge' (#34) from develop into release-25.11
All checks were successful
Deploy docs / build-and-deploy (push) Successful in 6s
All checks were successful
Deploy docs / build-and-deploy (push) Successful in 6s
Reviewed-on: #34
This commit is contained in:
commit
8ad8b1f633
1 changed files with 3 additions and 3 deletions
|
|
@ -12,7 +12,6 @@ let
|
|||
|
||||
inherit (lib.utils)
|
||||
mkReverseProxyOption
|
||||
mkVirtualHost
|
||||
;
|
||||
in
|
||||
{
|
||||
|
|
@ -32,8 +31,9 @@ in
|
|||
systemd.tmpfiles.rules = [ "d ${cfg.dataDir} 0755 ${cfg.user} ${cfg.group} -" ];
|
||||
|
||||
services.nginx.virtualHosts = mkIf cfg.reverseProxy.enable {
|
||||
"${cfg.virtualHost}" = mkVirtualHost {
|
||||
ssl = cfg.reverseProxy.forceSSL;
|
||||
"${fqdn}" = {
|
||||
enableACME = cfg.reverseProxy.forceSSL;
|
||||
forceSSL = cfg.reverseProxy.forceSSL;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue