Step one in getting to Alpine

This commit is contained in:
Kai Hendry
2015-10-01 21:54:48 +08:00
parent 4e53ff14f1
commit b00e31138f
18 changed files with 53 additions and 9397 deletions

View File

@@ -10,9 +10,10 @@ http {
sendfile on;
gzip on;
gzip_vary on;
gzip_types application/x-javascript text/css application/javascript text/html application/json;
gzip_types application/x-javascript text/css application/javascript application/json;
server {
listen 80;
server_name greptweet.com;
root /srv/http;
charset utf-8;
@@ -26,7 +27,6 @@ http {
location ~ \.(svg|txt)$ {
gzip_static always;
gunzip on;
}
location ~* \.(svg|css|woff|js)$ {
@@ -39,7 +39,7 @@ http {
location ~ \.php$ {
try_files $uri = 404;
fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
}