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