From c486342798c34c01a84568119230bf4dc2a46345 Mon Sep 17 00:00:00 2001 From: Magicalex Date: Mon, 31 May 2021 01:14:31 +0200 Subject: [PATCH] fix(): nginx config --- rootfs/etc/nginx/nginx.conf | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rootfs/etc/nginx/nginx.conf b/rootfs/etc/nginx/nginx.conf index 654b4c6..2cad605 100644 --- a/rootfs/etc/nginx/nginx.conf +++ b/rootfs/etc/nginx/nginx.conf @@ -8,7 +8,6 @@ events { } http { - include /etc/nginx/mime.types; default_type application/octet-stream; @@ -57,8 +56,6 @@ http { fastcgi_param REMOTE_ADDR $http_x_real_ip; } - if (-f /etc/nginx/flarum/custom-vhost-flarum.conf) { - include /etc/nginx/flarum/custom-vhost-flarum.conf; - } + include /etc/nginx/flarum/custom-vhost-flarum[.]conf; } }