Toggen Blog

Tech tips

Articles

Latest

Access

Blog History

Using a regex to specify nginx server_name

I wanted to publish two hostnames from the one config and capture the host portion so I could redirect it correctly Using certbot to create a single letsencrypt cert with both domains in it. First add DNS records for both domains pointing at your webserver sudo...