backup and stuff
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
limit_req_zone $binary_remote_addr zone=mylimit:10m rate=10r/s;
|
||||
|
||||
map $http_user_agent $link_preview_bot {
|
||||
default 0;
|
||||
"~*(Discordbot|Twitterbot|facebookexternalhit|Facebot|Slackbot|TelegramBot|WhatsApp|LinkedInBot|Pinterest|redditbot|Iframely|vkShare|SkypeUriPreview|Mastodon|Googlebot|bingbot)" 1;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80 default_server;
|
||||
server_name secretbee.buzz;
|
||||
@@ -50,7 +55,10 @@ server {
|
||||
try_files $uri $uri.html $uri/index.html index.html;
|
||||
}
|
||||
|
||||
location /siri {
|
||||
location = /siri {
|
||||
if ($link_preview_bot) {
|
||||
rewrite ^ /siri.html last;
|
||||
}
|
||||
return 301 https://gallery.secretbee.buzz/s/siri;
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 428 KiB |
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" prefix="og: https://ogp.me/ns#">
|
||||
<head>
|
||||
<title>Siri References</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="theme-color" content="#f54927">
|
||||
|
||||
<!-- Facebook -->
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="Siri References">
|
||||
<meta property="og:description" content="All the official Siri references.">
|
||||
<meta property="og:site_name" content="secretbee.buzz">
|
||||
<meta property="og:url" content="https://secretbee.buzz/siri">
|
||||
<meta property="og:image" content="https://secretbee.buzz/siri-cover.png">
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta property="twitter:domain" content="secretbee.buzz">
|
||||
<meta property="twitter:url" content="https://secretbee.buzz/siri">
|
||||
<meta name="twitter:title" content="Siri References">
|
||||
<meta name="twitter:description" content="All the official Siri references.">
|
||||
<meta name="twitter:image" content="https://secretbee.buzz/siri-cover.png">
|
||||
|
||||
<link rel="canonical" href="https://secretbee.buzz/siri">
|
||||
</head>
|
||||
<body>
|
||||
<p><a href="https://gallery.secretbee.buzz/s/siri">View the gallery →</a></p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user