Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

By chronodust
Hello I think I’ve run into a bad written configuration files issue, but first of all my configuration:
Current config: Debian nginx php php-fpm APC MariaDB wordpress
Cause of the problem encountered: after installing all the said components, the wordpress site was working well, but the url displayed the IP as the domain name of my site instead of the correct “mydomain.tld” or “www.mydomain.tld”. I managed to solve this putting the following rewrite rule in the main config file of my site in /sites-available
server { server_name _; rewrite ^ $scheme://www.mydomain.tld$request_uri last; }
BUT, having this rule active locks me out of the wordpress administration page (mydomain.tld/wp-admin/) in a way that seems to be that this rule triggers a loop during the authentication process at “mydomain.tld/wp-login.php” page redirecting at the same page (wp-login.php).
I’d say im new in nginx managing and i want to figure out what the #?@! is wrong
thanks for all suggestions
Mars