From ec73eef6953bb1af2c0fc4a267e4126a2e2f59ce Mon Sep 17 00:00:00 2001 From: Djamil Legato Date: Fri, 30 Oct 2015 10:49:08 -0700 Subject: [PATCH] Updated comments for subfolders --- nginx.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nginx.conf b/nginx.conf index 2d8b57b10..d325ff308 100644 --- a/nginx.conf +++ b/nginx.conf @@ -8,8 +8,9 @@ server { ## End - Server Info ## Begin - Index - # for subfolders, simply adjust the rewrite: - # to use `/subfolder/index.php` + # for subfolders, simply adjust: + # `location /subfolder {` + # and the rewrite to use `/subfolder/index.php` location / { try_files $uri $uri/ /index.html; if (!-e $request_filename){ rewrite ^(.*)$ /index.php last; }