nomad

HCL and Docker files for Nomad deployments
git clone https://git.in0rdr.ch/nomad.git
Log | Files | Refs | Pull requests

nginx.conf.tmpl (346B)


      1 server {
      2     listen               {{ env "NOMAD_PORT_https" }} ssl;
      3 
      4     ssl_certificate      /etc/letsencrypt/live/bastard.in0rdr.ch/fullchain.pem;
      5     ssl_certificate_key  /etc/letsencrypt/live/bastard.in0rdr.ch/privkey.pem;
      6 
      7     root                 /app;
      8 
      9     location / {
     10         proxy_pass       http://{{ env "NOMAD_ADDR_http" }};
     11     }
     12 }