roles/nginx: Add comment about try_files for serving static files from disk

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2014-11-07 00:41:07 +03:00
parent c870044584
commit 3f5634110a
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -1,6 +1,7 @@
# try for WordPress index.php in /
# fall back to index.php + args (passed to php5-fpm later)
# also serves static files from the disk instead of passing to interpreter,
location / {
try_files $uri $uri/ /index.php?$args;
}