This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This file goes in /opt/bitnami/nginx/conf/server_blocks as mail.example.com.conf (make sure to replace the filename with your actual subdomain) | |
| # This Nginx config file assumes we're runing a Bitnami image (thus the non-standard /opt/bitnami paths) | |
| # FULL TUTORIAL to set up Listmonk on AWS Lightsail here: https://rameerez.com/free-mailchimp-alternative-email-marketing-service#listmonk-tutorial | |
| server { | |
| listen 443 ssl; | |
| server_name mail.example.com; | |
| server_tokens off; | |
| ssl_certificate /opt/bitnami/letsencrypt/certificates/mail.example.com.crt; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Should be run as sudo | |
| # Usage: add-new-website.sh domain -- script to set up a new site with SSL cert | |
| # where: | |
| # domain website domain without subdomains (ex: example.com) | |
| if [ ! -z "$1" ] | |
| then |
NewerOlder