diff --git a/index.php b/index.php
index 833e7db..5d17c92 100644
--- a/index.php
+++ b/index.php
@@ -41,7 +41,7 @@
-
+
diff --git a/nginx.conf b/nginx.conf
index 8b3087e..ca11f36 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -16,8 +16,8 @@ http {
server_name greptweet.com;
root /srv/http;
charset utf-8;
- access_log /var/log/nginx/greptweet.access.log;
- error_log /var/log/nginx/greptweet.error.log;
+ access_log /srv/http/u/greptweet.access.log;
+ error_log /srv/http/u/greptweet.error.log;
location / {
index index.php index.html;
@@ -33,6 +33,10 @@ http {
expires 7d;
}
+ location ~* \.(appcache)$ {
+ expires 30s;
+ }
+
location ~ \.php$ {
try_files $uri = 404;
fastcgi_pass unix:/run/php-fpm/php-fpm.sock;