From 044a74b14a5e89b213d4159c89c58402fe63b4f7 Mon Sep 17 00:00:00 2001 From: Tobias Strobel Date: Sat, 15 Apr 2023 22:42:16 +0000 Subject: [PATCH] Update http.conf for Nextcloud 26 --- nextcloud/http.conf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nextcloud/http.conf b/nextcloud/http.conf index 06e027f..6d406bd 100644 --- a/nextcloud/http.conf +++ b/nextcloud/http.conf @@ -1,6 +1,12 @@ upstream php-handler { server unix:/run/php/php8.1-fpm.sock; } + +map $arg_v $asset_immutable { + "" ""; + default "immutable"; +} + server { listen 80 default_server; listen [::]:80 default_server; @@ -9,6 +15,6 @@ server { root /var/www; location / { - return 301 https://$host$request_uri; + return 301 https://$host$request_uri; } } \ No newline at end of file