mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-23 21:41:06 -05:00
Hotfix
This commit is contained in:
12
nginx.conf
12
nginx.conf
@@ -27,10 +27,14 @@ http {
|
||||
rewrite ^/f/(.*)$ /create.php?id=$1 last;
|
||||
}
|
||||
|
||||
location ~ \.(txt)$ {
|
||||
add_header Content-Encoding gzip;
|
||||
gzip off;
|
||||
}
|
||||
location ~ \.(gz)$ {
|
||||
add_header Content-Encoding gzip;
|
||||
gzip off;
|
||||
}
|
||||
|
||||
location ~ \.(txt)$ {
|
||||
rewrite ^/u/(.*)/ /u/$1/$1.txt.gz last;
|
||||
}
|
||||
|
||||
location ~* \.(svg|css|js)$ {
|
||||
expires 7d;
|
||||
|
||||
Reference in New Issue
Block a user