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