Nginx Replace characters in hostname
I have urls like this: https://foo.somedomain.com https://foo.bar.somedomain.com https://foo.bar.baz.somedomain.com and so on And I want nginx to replace dots "." characters in the subdomain part of the hostname by dashes "-", so this would result in : https://foo.somedomain.com https://foo-bar.somedomain.com https://foo-bar-baz.somedomain.com and…