nginx convert untyped file to html

In my nginx conf file, I’m trying to translate something like /api/1/frontend/taskpane/ -> /api/1/frontend/taskpane.html /api/1/frontend/taskpane/?param=x -> /api/1/frontend/taskpane.html?param=x I’ve gotten the first case to work with a rewrite rule as follows: rewrite ^/api/1/frontend/taskpane/$ /api/1/frontend/taskpane.html last; …but it fails when the GET parameters are passed Furthermore, I have other filetypes that I want to remain untouched. For…

Using letsencrypt & certbot how do I add a mail server to an existing certificate?

Host: Digital Ocean OS: CentOS I have an existing SSL certificate that covers my domain. $ certbot certificates produces this output. Found the following certs: Certificate Name: testsite.com Domains: testsite.com www.testsite.com Expiry Date: 2020-04-12 21:20:31+00:00 (VALID: 86 days) Certificate Path: /etc/letsencrypt/live/testsite.com/fullchain.pem Private Key Path: /etc/letsencrypt/live/testsite.com/privkey.pem I installed postfix and I believe I need to add…