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:
parent
c870044584
commit
3f5634110a
@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
# try for WordPress index.php in /
|
# try for WordPress index.php in /
|
||||||
# fall back to index.php + args (passed to php5-fpm later)
|
# fall back to index.php + args (passed to php5-fpm later)
|
||||||
|
# also serves static files from the disk instead of passing to interpreter,
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.php?$args;
|
try_files $uri $uri/ /index.php?$args;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user