From 94d5e6f993e31ae508326c52977fb9a57844d3c1 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 18 Apr 2019 05:07:29 +0200 Subject: [PATCH] reorder --- conf/nginx.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 5891e39..6abc79a 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,13 +3,14 @@ location __PATH__ { # Path to source alias __FINALPATH__/ ; - # Example PHP configuration (remove if not used) - index index.php; - if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; } + + # Example PHP configuration (remove if not used) + index index.php; + # Common parameter to increase upload size limit in conjuction with dedicated php-fpm file #client_max_body_size 50M;