mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-23 21:41:06 -05:00
Step one in getting to Alpine
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user