diff options
| author | A Farzat <a@farzat.xyz> | 2021-07-27 00:28:17 +0900 |
|---|---|---|
| committer | A Farzat <a@farzat.xyz> | 2021-07-27 00:28:17 +0900 |
| commit | abc6b82e4a4b4900b364e64e2ed635f1ea61021a (patch) | |
| tree | 1748eeb4f224976d1937fe434f5c5300ea5731cb | |
| parent | d451f9d1979b0cd9705f0360366157dc3f36224f (diff) | |
Fix nextcloud https redirect
In the provided nginx server configuration for nextcloud, http
connections don't always redirect to https, so this was fixed.
| -rw-r--r-- | nextcloud.html | 4 |
1 files changed, 1 insertions, 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 <strong>yourwebsite.com</strong>; - location /nextcloud { - return 301 https://$server_name$request_uri; - } + return 301 https://$server_name$request_uri; } server { |
