mirror of
https://github.com/PaiGramTeam/telegram-bot-api-build.git
synced 2024-11-21 14:38:23 +00:00
fix: add method
This commit is contained in:
parent
a3666b3040
commit
9d2c3e0c96
@ -21,8 +21,8 @@ server {
|
||||
keepalive_timeout 0;
|
||||
|
||||
set $sanitized_request $request;
|
||||
if ( $sanitized_request ~ (\/bot\d+):[-\w]+\/(\S+) ) {
|
||||
set $sanitized_request $1:<hidden-token>/$2;
|
||||
if ( $sanitized_request ~ (\w+)\s(\/bot\d+):[-\w]+\/(\S+)\s(.*) ) {
|
||||
set $sanitized_request "$1 $2:<hidden-token>/$3 $4";
|
||||
}
|
||||
access_log /var/log/nginx/access.log token_filter;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user