Nginx not redirecting domain as expected
I have the following nginx configuration file server { listen 80 default_server; server_name _; return 301 https://dashboard-test-deb11.company.com$request_uri; } server { server_name dashboard-test-deb11; return 301 https://dashboard-test-deb11.company.com$request_uri; } server { listen 443 ssl default_server; # listen [::]:443 ssl default_server; server_name dashboard-test-deb11.company.com; ssl_certificate…