From 1d6ba77c7ccfd3cbb72dc9e2458cdf830636162e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Mon, 27 Jul 2020 18:11:30 +0100 Subject: [PATCH] Fix nextcloud device authorization This previously didn't work because nextcloud believed we were running http, when in reality we were running https. Overwrite the protocol, so that nextcloud can authorize devices. --- etc/nixos/services/nextcloud.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/nixos/services/nextcloud.nix b/etc/nixos/services/nextcloud.nix index 60bc900..76d0a5f 100644 --- a/etc/nixos/services/nextcloud.nix +++ b/etc/nixos/services/nextcloud.nix @@ -15,6 +15,7 @@ POSTGRES_USER = "nextcloud"; POSTGRES_HOST = "nextcloud-postgres"; POSTGRES_PASSWORD = "rI7t7Nek1yGA9ucrRc7Uhy0jcjwPjnXa8me4o8tJON8="; + OVERWRITEPROTOCOL = "https"; }; networks = [ "nextcloud"