From abc6b82e4a4b4900b364e64e2ed635f1ea61021a Mon Sep 17 00:00:00 2001 From: A Farzat Date: Tue, 27 Jul 2021 00:28:17 +0900 Subject: Fix nextcloud https redirect In the provided nginx server configuration for nextcloud, http connections don't always redirect to https, so this was fixed. --- nextcloud.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nextcloud.html b/nextcloud.html index 2ba4472..a49b93e 100644 --- a/nextcloud.html +++ b/nextcloud.html @@ -52,9 +52,7 @@ server { listen [::]:80; server_name yourwebsite.com; - location /nextcloud { - return 301 https://$server_name$request_uri; - } + return 301 https://$server_name$request_uri; } server { -- cgit v1.2.3