mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-27 15:16:57 -05:00
Fix #52
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user