From 08c9f6593e342d9fb261a68eaa15f4d39ff5db36 Mon Sep 17 00:00:00 2001 From: anmol26s <5068843+anmol26s@users.noreply.github.com> Date: Mon, 10 Sep 2018 16:52:17 +0530 Subject: [PATCH] Force https The app is not forcing https, due to which app needs to me manually opened in https to make the communication secure. --- conf/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index eef6ba5..4f7f0dd 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,5 +1,8 @@ location __PATH__ { alias __FINALPATH__/; + if ($scheme = http) { + rewrite ^ https://$server_name$request_uri? permanent; + } client_max_body_size 100M; index index.php; default_type text/html;