|
|
@ -51,6 +51,16 @@ server { |
|
|
|
#try_files $uri $uri/ =404; |
|
|
|
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 |
|
|
|
# |
|
|
|