From bc30682b9e53bc33ba00e164870b7ca7fbc9fb9e Mon Sep 17 00:00:00 2001 From: Lukas Schulz Date: Tue, 1 Dec 2020 21:21:15 +0100 Subject: [PATCH] changed cdn-url to https to fix mixed content stuff --- configuration/server/cdn/cdn-lb.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/server/cdn/cdn-lb.nix b/configuration/server/cdn/cdn-lb.nix index f717ba6..d6f79da 100644 --- a/configuration/server/cdn/cdn-lb.nix +++ b/configuration/server/cdn/cdn-lb.nix @@ -8,7 +8,7 @@ virtualHosts."${config.networking.hostName}.live.hacc.media" = { locations = { "/" = { - return = "301 \"http://$cdnhosts$request_uri\""; + return = "301 \"https://$cdnhosts$request_uri\""; extraConfig = '' auth_basic off; '';