Add sermons directory

This commit is contained in:
josh 2017-06-25 21:51:22 -06:00
parent 8b3c6c3457
commit 62aad57b1f
1 changed files with 10 additions and 0 deletions

View File

@ -52,6 +52,16 @@ server {
try_files $uri $uri/ /index.php?$args; try_files $uri $uri/ /index.php?$args;
} }
location /sermons/ {
alias /home/josh/sermons/;
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
#try_files $uri $uri/ /index.php?$args;
autoindex on;
}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
# #
location ~ \.php$ { location ~ \.php$ {