From 5383c04b714e887324a720c46860cd1f59b7fe18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 24 Oct 2023 17:22:42 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 9 --------- 1 file changed, 9 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index ab6f474..1bdfb42 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -58,15 +58,6 @@ location ^~ __PATH__/ { # Remove X-Powered-By, which is an information leak fastcgi_hide_header X-Powered-By; - # 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 `/nextcloud/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