In order to fish our spammer’s emails and other identifying information, you can use your mail clients’ log files and/or junk email. Here is how to get started.
RegEx Bliss: Set Up URL Redirects in NGINX Using Regular Expressions without Rewrites
There are two major no-nos when it comes to writing NGINX redirects:
- thou shalt not use
if statements(that’s a major no-no); - thought shalt not use
rewrites(they are a waste of resources, as in “slow” and “expensive”).
Instead, use ol’ good location blocks. But what if you have plenty of URIs to redirect? How do you deploy RegEx magic with NGINX? Easy.
Tip of the Day: How to Extract Domain Names from Email Addresses using Regular Expressions (RegEX)
Extracting domain names from email addresses with the help of regular expressions takes just a nanosecond once you have the formula. The formula is the key.