From c108e652ac199ad1ebb8e6c0802ac39071d90a82 Mon Sep 17 00:00:00 2001 From: jgoutin Date: Fri, 16 Aug 2024 15:53:21 +0200 Subject: [PATCH] nextcloud: remove a useless Nginx configuration section based on Nginx warning --- roles/nextcloud/files/nginx-site-nextcloud.j2 | 9 --------- 1 file changed, 9 deletions(-) diff --git a/roles/nextcloud/files/nginx-site-nextcloud.j2 b/roles/nextcloud/files/nginx-site-nextcloud.j2 index c99cf9c..63e938d 100644 --- a/roles/nextcloud/files/nginx-site-nextcloud.j2 +++ b/roles/nextcloud/files/nginx-site-nextcloud.j2 @@ -22,15 +22,6 @@ # Path to the root of your installation root /var/www/nextcloud; - # Add .mjs as a file extension for javascript - # Either include it in the default mime.types list - # or include you can include that list explicitly and add the file extension - # only for Nextcloud like below: - include mime.types; - types { - text/javascript js mjs; - } - # Specify how to handle directories -- specifying `/index.php$request_uri` # here as the fallback means that Nginx always exhibits the desired behaviour # when a client requests a path that corresponds to a directory that exists