module ApartmentAcmeClient
Initially, the system is only accessible via subdomain.example.com But, as we add more Conventions, we want to be able to access those also, thus we will need:
-
*.subdomain.example.com
Also, each convention may add an “alias” for their convention, like:
-
french-convention.unicycle.fr
Steps to make this work: 1) When a new Convention is created, or a new alias is added, configure nginx
so that it responds to that domain request `rake update_nginx_config` (writes a new nginx.conf and restarts nginx)
2) Register the new domain with letsencrypt
`rake renew_and_update_certificate`
Manage the encryption of the website (https).
Constants
- VERSION
Public Class Methods
domains_to_check()
click to toggle source
# File lib/apartment_acme_client.rb, line 25 def self.domains_to_check if @@domains_to_check.respond_to?(:call) @@domains_to_check.call else @@domains_to_check end end