ops: Add nginx config for /unfurler and /slurper prefixes

This commit is contained in:
wiz
2023-08-16 03:27:09 +09:00
parent 13f6f9f9e5
commit 83a92a7e3a
3 changed files with 53 additions and 14 deletions

View File

@@ -23,8 +23,8 @@ http {
include mempool/production/nginx/http-language.conf;
# match preview/unfurl bot user-agents
map $http_user_agent $unfurlbot {
default 0;
map $http_user_agent $unfurlprefix {
default "";
}
# mempool configuration