This file contains 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
#!/bin/sh | |
### option configuration | |
MESSAGE_BODY="Test mail" | |
EMAIL_SUBJECT="Testing Email from Shell Script with SMTP-01" | |
FROM_EMAIL_ADDRESS="[email protected]" | |
FRIENDLY_NAME="NO Reply test" | |
SMTP_SERVER="smtp.sender.com" | |
SMTP_PORT="587" | |
SMTP_USER="User" |
This file contains 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
## this GeoIP dat file relate on centos environment please change to your OS path | |
geoip_country /usr/share/GeoIP/GeoIP-initial.dat; | |
map $request_uri $request_uri_path { | |
"~^(?P<path>[^?]*)(\?.*)?$" $path; | |
} | |
map $upstream_response_time $new_upstream_response_time { | |
default $upstream_response_time; | |
'' null; |