mirror of
https://github.com/getgrav/grav.git
synced 2026-01-29 19:00:12 +01:00
Updated comments for subfolders
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user