Add offlate on xana

Julien LepillerTue Oct 06 14:19:31+0200 2020

5c17912

Add offlate on xana

systems/xana.scm

9696
                nani-download-job nani-update-job))
9797
        (certbot-service `(("xana.lepiller.eu")
9898
                           ("nani.lepiller.eu")
99-
                           ("i18n.lepiller.eu")))
99+
                           ("i18n.lepiller.eu")
100+
                           ("offlate.lepiller.eu")))
100101
        (simple-service 'nani-http-server nginx-service-type
101102
          (list (nginx-server-configuration
102103
                  (ssl-certificate

106107
                  (listen '("443 ssl http2" "[::]:443 ssl http2"))
107108
                  (server-name '("nani.lepiller.eu"))
108109
                  (root "/srv/http/nani/public"))))
110+
        (simple-service 'nani-http-server nginx-service-type
111+
          (list (nginx-server-configuration
112+
                  (ssl-certificate
113+
                    "/etc/letsencrypt/live/offlate.lepiller.eu/fullchain.pem")
114+
                  (ssl-certificate-key
115+
                    "/etc/letsencrypt/live/offlate.lepiller.eu/privkey.pem")
116+
                  (listen '("443 ssl http2" "[::]:443 ssl http2"))
117+
                  (server-name '("offlate.lepiller.eu"))
118+
                  (root "/srv/http/offlate/public"))))
109119
        (simple-service 'i18n-http-server nginx-service-type
110120
          (list (nginx-server-configuration
111121
                  (ssl-certificate