From 50b848d2dc12e76dc9c8a366e358c9a57ff2353d Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 14 Oct 2025 23:01:01 +0100 Subject: [PATCH] small changes --- docker-compose.yml | 1 + nextcloud/Dockerfile | 2 +- nginx/nginx.conf.template | 10 ++++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 575c581..b1ac094 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -118,6 +118,7 @@ services: - VIRTUAL_PORT=9980 - "DONT_GEN_SSL_CERT=True" - domain=tower.${DOMAIN} + - "aliasgroup1=https://tower.${DOMAIN}" - cert_domain=office.${DOMAIN} - server_name=office.${DOMAIN} - username=${COLLABORA_USER} diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile index 28b51be..c7d53a1 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -1,4 +1,4 @@ -FROM nextcloud:30-fpm-alpine +FROM nextcloud:32-fpm-alpine RUN set -ex; \ \ diff --git a/nginx/nginx.conf.template b/nginx/nginx.conf.template index d3baee4..24b74e9 100644 --- a/nginx/nginx.conf.template +++ b/nginx/nginx.conf.template @@ -131,6 +131,16 @@ http { # This module is currently not supported. #pagespeed off; + # Set .mjs and .wasm MIME types + # Either include it in the default mime.types list + # and include that list explicitly or add the file extension + # only for Nextcloud like below: + include mime.types; + types { + text/javascript mjs; + application/wasm wasm; + } + location / { rewrite ^ /index.php; }