Cert generation
This commit is contained in:
parent
f184f9c838
commit
deb7c9bd68
|
@ -83,13 +83,13 @@
|
|||
;; ## Certificates
|
||||
(defn generate-certs! [{:keys [company-name company-suffix] :as datamap}]
|
||||
(info
|
||||
(sh/sh (map #(cljstache/render % datamap)
|
||||
["certbot" "certonly" "--nginx"
|
||||
"-d" "staging.{{company-name}}.talent.careers"
|
||||
"-d" "{{company-name}}.talent.careers"
|
||||
"-d" "talent.{{company-name}}.{{company-suffix}}"
|
||||
"-d" "www.talent.{{company-name}}.{{company-suffix}}"
|
||||
"--cert-name" "{{company-name}}"]))))
|
||||
(apply sh/sh (map #(cljstache/render % datamap)
|
||||
["certbot" "certonly" "--nginx"
|
||||
"-d" "staging.{{company-name}}.talent.careers"
|
||||
"-d" "{{company-name}}.talent.careers"
|
||||
"-d" "talent.{{company-name}}.{{company-suffix}}"
|
||||
"-d" "www.talent.{{company-name}}.{{company-suffix}}"
|
||||
"--cert-name" "{{company-name}}"]))))
|
||||
|
||||
;; # DNS configuration
|
||||
|
||||
|
|
Loading…
Reference in New Issue