From 10b2ae82d832d6a1f7f4f1d2fc74c4a467bd0441 Mon Sep 17 00:00:00 2001 From: Ilya Prokopenko Date: Thu, 14 Oct 2021 10:52:18 +0700 Subject: [PATCH] NGINX: Moved the index to another position --- install/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/nginx.conf b/install/nginx.conf index 626f7e5..99ba4cd 100644 --- a/install/nginx.conf +++ b/install/nginx.conf @@ -17,12 +17,13 @@ server { root /opt/chandler/htdocs; client_max_body_size 100m; + + index index.php; ssl_certificate /path/to/fullchain.pem; ssl_certificate_key /path/to/privkey.pem; location / { - index index.php; try_files $uri $uri/ /index.php$is_args$args; }