Updated comments for subfolders

This commit is contained in:
Djamil Legato
2015-10-30 10:49:08 -07:00
parent 467d68344e
commit ec73eef695

View File

@@ -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; }