The setup of the LEMP stack (NGINX, MariaDB or MySQL, and PHP) has many caveats. They can impact both performance and security.
Here is how to LEMP (not limp along!).
Cyber security, infotech
Filipe Martins Leave a Comment
The setup of the LEMP stack (NGINX, MariaDB or MySQL, and PHP) has many caveats. They can impact both performance and security.
Here is how to LEMP (not limp along!).
Have you ever seen one of these weird redirects? WordPress, for example, may refuse to show the log-in page, leaving you out of its admin interface for good. Here is what to do about it.
To redirect a subdirectory in NGINX, use this location block (an example for https):
location /old-subdirectory { return 301 https://$server_name/new-subdirectory/; }
For more NGINX redirects see this post: RegEx Bliss: Set Up URL Redirects in NGINX Using Regular Expressions without Rewrites.
Leaving your current web hosting provider for the cloud experience may feel rather scary, but in reality, it is a liberating experience.
Just think of all the freedom you gain to run your web services your way: the ability to use any DNS provider of your choice, any certificate authority (such as, most notably, the disruptive force of Letsencrypt), install software to your heart’s content, scale up and out on demand, in other words, be in charge of your own services and infrastructure. Here is a quick tutorial on how to make the leap.
©2022 CybrAnalytiqa OÜ