- Alert Contact Type: Web-Hook
- URL to Notify:
https://discordapp.com/api/webhooks/CHANGEME/CHANGEME?
- Must end with
?
- Must end with
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
map $remote_addr $remote_addr_anon { | |
~(?P<ip>\d+\.\d+\.\d+)\. $ip.0; | |
~(?P<ip>[^:]+:[^:]+): $ip::; | |
default 0.0.0.0; | |
} | |
log_format combined_ssl '$remote_addr_anon - $remote_user [$time_local] ' | |
'$ssl_protocol/$ssl_cipher ' | |
'"$request" $status $body_bytes_sent ' | |
'"$http_referer" "$http_user_agent"'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am xopez on github. | |
* I am xopez (https://keybase.io/xopez) on keybase. | |
* I have a public key ASAuR4rT_2NUBAhZdrY9Ac8awbB7eT9K8Whg81V2klT1IQo | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
command_exists() { | |
command -v "$@" >/dev/null 2>&1 | |
} | |
TARGET_PATH="$PWD" | |
OWNER=$(id -u) | |
REQUIRED_PACKAGES="curl jq" |