nginx_ua_block_pleroma_rejects: Put ~* directly in front of domain.
If there is a space between ~* and domain, nginx complains about “invalid number of the map parameters”.
This commit is contained in:
parent
767954ee17
commit
207a20bf93
|
@ -4,7 +4,7 @@
|
|||
# Save the output to a file and include it in an nginx configuration file. Then
|
||||
# add `if ($blockedagent) { return 403; }` to your server blocks.
|
||||
|
||||
# Version: 2019-08-17_1
|
||||
# Version: 2019-08-17_2
|
||||
|
||||
|
||||
function get_domains() # Outputs domains, separated by newline.
|
||||
|
|
Loading…
Reference in New Issue