mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-23 05:21:06 -05:00
Redirect to fetch if there is an issue
This commit is contained in:
@@ -19,13 +19,14 @@ http {
|
||||
charset utf-8;
|
||||
access_log /srv/http/u/greptweet.access.log;
|
||||
error_log /srv/http/u/greptweet.error.log;
|
||||
error_page 404 403 =303 /404.php;
|
||||
|
||||
location / {
|
||||
index index.php index.html;
|
||||
rewrite ^/f/(.*)$ /create.php?id=$1 last;
|
||||
}
|
||||
|
||||
location ~ \.(svg|txt)$ {
|
||||
location ~ \.(txt)$ {
|
||||
add_header Content-Encoding gzip;
|
||||
gzip off;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user